sort | title |
---|---|
2 |
Git Cheatsheet |
Review your git configuration and settings
git --version
git config --list
git clone --branch development https://github.com/username/project.git
src π theserverside.com
git fetch --all
git reset --hard
git clean -f -d
git pull
src π stackoverflow.com
cd {your-git-repo}
git log
git push origin +{good-commit-sha}:master
src π stackoverflow.com
List tags
git tag --list --column --sort tag
Signing tag with -s
git tag --sign "2.0" --message "Stable β¨"
git push origin --tags
src π Signing tags
Delete tags
git tag --delete "2.0"
git push origin --delete "2.0"
- Complete list of all commands - Git official manual
- Git Cheat Sheets - GitHub Training Kit, open source courseware from the GitHub Professional Services team
- Git Cheat Sheets - GitHub Git Cheatsheet (PDF)
- Git Cheat Sheets - GitLab Git Cheatsheet
If this project helps you, you can offer me a cup of coffee βοΈ :-)