Skip to content

gtsopour/git-tips

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 

Repository files navigation

Collection of Git Commands

Markdown Cheatsheet

Generic

Undo your last commit
$ git reset --soft HEAD~

Undo "git commit --amend" done instead of "git commit"
$ git reset --soft HEAD@{1}

Git tags

Create a tag
$ git tag -a v1.0.0 -m "v1.0.0"

Preview tags
$ git tag

Sharing tags
$ git push origin --tags

Delete tags
$ git push --delete origin v1.0.0

About

Collection of Git Commands

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published