Skip to content

Instantly share code, notes, and snippets.

@praveen-krishn
Last active November 25, 2016 04:17
Show Gist options
  • Select an option

  • Save praveen-krishn/9a2229115449bab6ef7b3083d72d3876 to your computer and use it in GitHub Desktop.

Select an option

Save praveen-krishn/9a2229115449bab6ef7b3083d72d3876 to your computer and use it in GitHub Desktop.
----
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
----
----
@praveen-krishn
Copy link
Author

$ git log --oneline --abbrev-commit --all --graph --decorate --color

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment