The document provides Git commands for listing and managing branches, reverting commits and changes, updating from remote repositories, pushing changes, deleting files, staging patches, rolling back file changes between commits, creating and deleting branches, and diffing files between branches. It includes explanations for common tasks like undoing commits, updating while preserving local changes, interactively staging file changes, and deleting a branch locally and remotely.
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
98 views
Git Notes
The document provides Git commands for listing and managing branches, reverting commits and changes, updating from remote repositories, pushing changes, deleting files, staging patches, rolling back file changes between commits, creating and deleting branches, and diffing files between branches. It includes explanations for common tasks like undoing commits, updating while preserving local changes, interactively staging file changes, and deleting a branch locally and remotely.