General
Git (Chapter 13: Plumbing)
In Rewriting History, I talked about the internal representation of a Git repository. I may have misled you a bit. While the reflog, interactive rebasing, and resetting may be m...
Git (Chapter 12 - Tips & Tricks)
This module presents a broad survey of useful Git utilities. We’ll take a step back from the theoretical aspects of Git and focus on common tasks like preparing a project for re...
Git (Chapter 11: Patch Workflows)
Thus far, all of the collaboration workflows we’ve seen rely heavily on branches. For example, in the last module, a contributor had to publish an entire branch for us to merge...
Git (Chapter 10: Distributed Workflows)
Now that we know how to share information via a centralized workflow, we can appreciate some of the drawbacks of this collaboration model. While it may be convenient, allowing e...
Git (Chapter 9: Centralized Workflows)
In the previous module, we shared information directly between two developers’ repositories: my git repo and marys repo. This works for very small teams developing simple progra...
Git (Chapter 8: Remotes)
Simply put, a remote repository is one that is not your own. It can be another Git repository that’s on your company’s network, the internet, or even your local filesystem, but...
Git (Chapter 7: Rewriting History)
The previous module on rebasing taught us how to move commits around and perform some basic edits while doing so, but now we’re going to really get our hands dirty. We’ll learn...
Git (Chapter 6: Rebasing)
Let’s start this module by taking an in depth look at our history. The six commits asterisked below are part of the same train of thought. We even developed them in their own fe...
Git (Chapter 5: Branches Part 2)
We’ve covered the mechanics behind Git branches, we can discuss the practical impact that they have on the software development process. Instead of introducing new commands, thi...
GIT (Chapter 4: Branches)
Branches are the final component of Git version control. This gives us four core elements to work with throughout the rest of this tutorial: The Working Directory The Staged Sna...
Git (Chapter 3: Undoing Changes)
In the last module, we learned how to record versions of a project into a Git repository. The whole point of maintaining these “safe” copies is peace of mind: should our project...
Git (Chapter 2: The Basics)
Now that you have a basic understanding of version control systems in general, we can start experimenting with Git. Using Git as a VCS is a lot like working with a normal softwa...
How to tag a release on command line
git remote (displays the name of your remote, for example YourRemote) git tag a 0.1.0 m 'tagging Version 0.1.0' (creates tag 0.1.0 from current branch) git push origin tags (pus...