Write yourself a Git (2018)
wyag.thb.lt
Write yourself a Git (2018)
1–10 of 111 posts
Re: Write yourself a Git (2018)
#2[deleted]
Re: Write yourself a Git (2018)
#3Seems to be a great opportunity to learn some Git and Python at the same time. I like those kind of approaches very much. Thanks!
Re: Write yourself a Git (2018)
#4I recommend "Git from the bottom up"[1] for a nice and relatively simple tutorial that shows you the inner design of a git repository.
Re: Write yourself a Git (2018)
#5Just be aware that it is a good start but isn’t as complete as the command list would indicate - runs up to about the point of index files, so not quite at ‘git add’.
Re: Write yourself a Git (2018)
#6This is great, thanks for sharing.
People in this thread might also appreciate this essay: https://maryrosecook.com/blog/post/git-in-six-hundred-words
And the more expanded version: https://maryrosecook.com/blog/post/git-from-the-inside-out
It really helped me comprehend Git enough to start understanding the more complex work flows.
Re: Write yourself a Git (2018)
#7This is simply excellent. I already know some basics of the internals of git at a conceptual level but this tutorial makes the knowledge so much more concrete. Wonderful.
Re: Write yourself a Git (2018)
#8I always thought the best way to learn something is by doing it.
The only problem now is the time.
Re: Write yourself a Git (2018)
#9I have nothing to directly comment on the tutorial. Just a tangential mention regarding the tedious argument parsing boilerplate in Python, I have found Python Fire to be much more convenient: https://github.com/google/python-fire
It would have shaved off another 15-20 lines from the 503 line example ;-)
Re: Write yourself a Git (2018)
#10It is indeed a great (and time consuming approach). Other VCSs have gone a little further than Git though, simplifying their workflows or the GUIs and CLI commands to make their use more intuitive like https://www.plasticscm.com/ and others.