Git everyday 是一个简单的关于 Git 的仓库,包括常用的一些命令,主要用于自己理解使用。
命令来源 git help everyday
注意: 在不知道每个命令的具体含义前,请不要直接使用本文档的任何命令。
主要包括如下命令
• git-init(1) to create a new repository.
• git-log(1) to see what happened.
• git-switch(1) and git-branch(1) to switch branches.
• git-add(1) to manage the index file.
• git-diff(1) and git-status(1) to see what you are in the middle of doing.
• git-commit(1) to advance the current branch.
• git-restore(1) to undo changes.
• git-merge(1) to merge between local branches.
• git-rebase(1) to maintain topic branches.
• git-tag(1) to mark a known point.