Git Cheat Sheets
Distributed version control, branching strategies, commit history, and conflict resolution.
Available Topics
Showing all 9 topicsGit Setup & Configuration
Set up Git for the first time, check the version, set name and mail, and start or clone repositories.
Git Staging & Commits
Daily work cycle, staging, checking status and variances of modifications.
Git History & Diffs
Examine modification history, view commit messages, compare branches, and track line changes.
Git Branching & Merging
Managing local and remote branches, moving between them, merging, and canceling ongoing mergers.
Git Rebase & Cherry-Pick
Reorder commits, merge records interactively (Squash), and move specific commits across branches.
Git Undoing Changes & Recovery
Undo unsaved modifications, reset branches (soft, mixed, hard), safely undo commits, and restore lost ones via reflog.
Git Remotes & Sync
Connect remote repositories, fetch updates, sync, secure push using force-with-lease.
Git Stashing & Tags
Caching unfinished work (stash), creating and managing version tags (tags), and digital signature.
Git Advanced Troubleshooting
Clean up junk files, search for errors with bisect, and recover deleted commits via reflog.