Command Line Git Everything You Need to Know to Get Started
Vložit
- čas přidán 10. 10. 2023
- I wrote a book about using Git from command line.
But there are tons of books about Git? How's yours different?
Mine focuses on ✨imagination ✨
No, seriously. You can save a ton of confusion if you imagine things a certain way.
Preview the first chapter: maksimivanov.com/books/comman...
Buy the book in the online stores: books2read.com/command-line-git
glad to see you back Maksim 🎉
we missed you bro 👨💻
Thank you 😀
Happy to see that you are all right 💯
I get a "something went wrong" message after clicking the link in the email for the first free chapter.
Hi, sorry for that. I just went in and fixed the issue
Please try downloading again.
You can use the same link.
Sounds like an interesting book! Does it cover working with remotes for example?
Yes it does, it covers adding, removing and renaming remotes.
It also explains what remotes are.
I like the approach, however, It has some pretty bad errors in it in the beginning. rm -r, in Setting the default editor, you get to work on a repository that is not there: configuring-git-00. The needs an errata link somewhere, I did not see one listed on Amazon where I bought the book.
Great work!
Are you going to create new chapter with more advanced tips?
Im planning a new book with more advanced topics.
The candidates are:
- advanced history manipulation (rebase, cherry pick, patches, pruning branches, etc)
- team work (github, different flows, branching strategies, naming conventions, etc)
- big projects (submodules, subtrees, monorepos)
- automation (hooks, automated deploys using git)
Which sounds more interesting?
Unique perspective! Sounds like it will be an exciting book with the exercises. I feel like a lot of writers forget that lately...we only learn by doing the thing otherwise it's just tutorial hell 😬
Thanks for the book. Roughly how many pages will that be? and what version of the git is used in the book
The book is approximately 160 pages.
I used Git 2.37.2
Imagination, sounds interesting!
Does it help to imagine the difference between merge and rebase, especially what “-ours” and “-theirs” are? I always struggle to remember what they refer to, because “-ours” in merge becomes “-theirs” in rebase.
Rebase is out of scope of this book, i plan to cover it in the next one: Collaborating Effectively with Git
In this book I wanted to focus on the basics, so that I could build up on this in the next books
❤🎉
Do you think this book would still be useful for someone who's used Git (from the command line) for a few years? I've considered reading the "Pro Git" book, since the most advanced command I can run without reading the documentation first is an interactive rebase. The example you gave about the mental image of commit history wasn't new to me, so I worry that this book is only useful for beginners.
If you use Git for a few years already - then the book could be a refresher
If you want to go in depth at your level - i’d recommend Pro Git. It is very thorough and if you have the time and energy to read it - it’s totally worth it.
The goal of my book is to provide the ways of thinking about Git and imagining how it works so that everything goes smoothly.
I guess if you use it for several years already - you have your ways 😁
But also, what would you want to see in the advanced book?
@@satansdeer1 that’s a good question, I’m not sure! I guess because I haven’t investigated advanced features I’m not aware of the possibilities.
Off the top of my head, a comparison of different flows (“GitHub flow”, “Rebase flow”, etc.) would be useful.
My biggest struggle with Git has not been using its commands, but rather collaborating with people who are Git beginners. I might have to buy a copy of your book in the future in order to give a colleague!
Right, I actually plan to write “Collaborating Efficiently With Git” and list different flows there.
Sounds like the topics that you listed would fit great there
Максим, а как в России твою книгу купить. AppStore, видимо, смотрит на origin страну аккаунта и iBooks не пропускает. Можете тебе напрямую на карту можно оплатить, а ты pdf/epub скинешь?
можно попробовать через Leanpub - leanpub dot com using-git-from-command-line-everything-you-need-to-know-to-get-started
ссылку я поломал чтобы её ютуб не порезал, но надеюсь понятно какой адрес
@@satansdeer1спасибо, получилось)
Грустно немного, что мир устроен таким образом, что интересный мне человек, которого в идеальном мире я мог бы слушать на родном языке, говорит на английском и мне приходится слушать на английском