| sort | 2 |
|---|---|
| title | Git Cheatsheet |
Review your git configuration and settings
git --version
git config --listgit clone --branch development https://github.com/username/project.gitsrc π theserverside.com
git fetch --all
git reset --hard
git clean -f -d
git pullsrc π stackoverflow.com
cd {your-git-repo}
git log
git push origin +{good-commit-sha}:mastersrc π stackoverflow.com
List tags
git tag --list --column --sort tagSigning tag with -s
git tag --sign "2.0" --message "Stable β¨"
git push origin --tagssrc π 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 βοΈ :-)
