gitmyhub

git-tips

★ 16k updated 3y ago

:trollface:Git的奇技淫巧

A Chinese-language reference collection of practical Git tips and commands, covering branches, tags, undoing changes, merge conflicts, and syncing with remote repositories.

Gitsetup: easycomplexity 1/5

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.

Where it fits