Last active
November 25, 2016 04:17
-
-
Save praveen-krishn/9a2229115449bab6ef7b3083d72d3876 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| ---- | |
| To Create Stash | |
| $ git stash | |
| To List all stash | |
| $ git stash list | |
| To apply and not delete from stash | |
| $ git stash apply stash@{0} | |
| To apply and delete from stash | |
| $ git stash pop | |
| To delete last stash | |
| $ git stash drop | |
| To delete all stash | |
| $ git stash clear | |
| ---- | |
| To List all tags | |
| $ git tag | |
| To Create Tags | |
| $ git tag -a v1.1.1 -m "Bugfix: api, historical report" | |
| To push Tags to remove | |
| $ git push origin v1.1.1 | |
| To push all tags to remote | |
| git push --tags | |
| ---- | |
| ---- |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
$ git log --oneline --abbrev-commit --all --graph --decorate --color