Last active
December 11, 2015 18:38
-
-
Save danpariente/4642387 to your computer and use it in GitHub Desktop.
My Git Flow
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
git checkout -b feature && git push -u | |
git commit -am "$COMMIT_MESSAGE" | |
git add $FILES_TO_ADD | |
git commit -m "$COMMIT_MESSAGE" | |
git add -p $PATH_TO_FILE | |
git diff master feature | |
git rebase master -i | |
( r, for reword if we want to edit the commit message and s, for squash if we want to squash that commit into the previous one) | |
git log feature | |
git checkout master | |
git merge feature/responsive --no-ff | |
git push | |
git tag v$VERSION_NUMBER && git push --tags |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment