Last active
February 10, 2016 17:32
-
-
Save jmervine/d015555a276bde31ca9d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# assuming your tag is '1.0.1' | |
# ensure latest code is local | |
git fetch --all --tag | |
# create branch off tag | |
git checkout -b branch-off-1.0.1 1.0.1 | |
# your current branch should now be 'branch-off-1.0.1' | |
# ensure branch matches tag [optional] | |
git diff 1.0.1 | |
# now make your changes and do all the fun stuff | |
# tag your branch for release with next tag in line (e.g. 1.0.2) | |
git tag 1.0.2 | |
# push tags | |
git push --tags |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment