Look up the exact Git command to undo a committed change without losing your current work.
Find the right commands for resolving merge conflicts and recovering accidentally deleted files.
Learn how to stash changes temporarily, manage tags, and configure Git proxies from a searchable reference.
This is a collection of Git tips and commands written in Chinese, aimed at helping developers use Git more effectively. Git is a version control system, a tool that tracks every change you make to your files, so you can go back to any earlier state of your work, much like an unlimited undo history. The collection covers dozens of common Git tasks organized as a searchable reference: switching between branches (separate lines of work), managing tags (named snapshots of your code), undoing or resetting commits (saved checkpoints), handling merge conflicts, and working with both local and remote repositories. It also includes tips for stashing changes temporarily, recovering deleted files, viewing who wrote which lines of code, and configuring Git proxies. The README explains key Git concepts in plain terms before diving into commands, for instance, it describes the workflow of moving changes from a working area to a staging area to a local repository and finally to a remote repository like GitHub. It recommends testing commands in a safe environment before using them in production. This reference is useful for developers who already have basic Git knowledge and want a quick lookup for less common operations. It is written entirely in Chinese and was forked from the git-tips project. The full README is longer than what was provided.
← 521xueweihan on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.