Hey readers! I’m going to wrap up the series today. I need a summer vacation. It was a good run, but an outdoors run is even better! 🙂
Here’s a recap of the most popular tips and what was next in the queue for me to write about.
- How to demystify Git commands using Visualizing Git – 081
- How to fix (and visualize) the “oh no! I’ve accidentally committed on master instead of a branch” – 082 with full kudos and acknowledgement to ohshitgit.com
- How not to quit your career when Git opens a vi editor – 072
- How not to quit your career when Git (via Visual Studio) adds <<<< HEAD into your code – 094
- How to use the arrows in the View History graphs in Visual Studio – 078
- How to find when a line was last changed in Visual Studio – 080
In the queue to be written
- git commit –dry-run // yep it is a thing, but was still figuring out what it does and doesn’t do
- git push –dry-run // is that even possible?
- git remote prune origin
- what is a “tip” in git? I think it is the last commit for a given branch. Or is a Tip what the actual pointer is called that points to the last commit in a branch. I’ve been debating which is which from reading this SO thread.
What every Windows user should know
- Check out my list of 9 things I learned about GitHub after becoming a GitHubber.
- tl;dr – Use GitHub Desktop for authentication and setting up .gitattributes for line endings. Use the GitHub Extension for Visual Studio for reviewing pull requests (and check out their new training). Use Git Shell (for Git Bash or PowerShell).
What to read now
- If you don’t want to click 127 times back and forth, check out Ed’s O’Reilly course called Git for Visual Studio. (Thanks again Ed!)
- Make sure you practice using ohshitgit.com before you need it! The best offense is a good defense, or so I’ve been told. I’d prefer eating popcorn from the stands 🙂
- Check out the new GitHub for Windows users course – see the links on the left-hand side and the “continue” at the bottom.
- Practice, practice, practice using Visualizing Git or some other visualization tool to break any mental models you might have of centralized VCS. There was so much I never got to with remotes, cherry pick, etc using the Visualizing Git. And don’t forgot it is an open source project.
- I enjoyed reading Git for Humans. It was nice to practice a bit on my own, and then go back to the book to make sure I was understanding the concepts. Again, I think my biggest challenge was unlearning previous expected behaviors from centralized VCS.
- And when the time is right, go read Pro Git. You can also get the book from Amazon. I really want to understand the underlying plumbing in Git in hopes it will help me break my past mental models.
Thanks again to everyone who helped answer my questions, participated in the comments, or simply told me I could take on this challenge. Although I only made it 35% of my goal (not because of lack of material, but because of the lack of outdoors). I learned a lot about the fundamentals I didn’t realize I was lacking, and that was worth it! I hope this series was useful to you as well!
3 thoughts on “How to end a tip of the day series when you need a vacation – 128”
This was one of the most readable, helpful introductions to git I’ve found, and I’ve read a lot of terrible ones. Looking forward to your next bloggy thing!
Thanks MarcT! Thanks for the feedback! Just curious, what made the series readable? I’d love to learn more so I can improve on it.
Feel free to contact me directly at https://saraford.net/contact/
I personally enjoyed the real world “how to” tone of the series and the tongue in cheek humor that gels pretty well with the frustration that occurs on the git learning curve. Thanks for you efforts and contributions. They are useful and sorely needed. I hope you enjoy your break!