git init
git add <file>
git commit -m "explain info"
git push [-u] <repos branch>
git log
git status
git config -l
git config user.name(or email) " "
git remote [-v] #查看本地添加了哪些远程地址
git remote add <repos> <address>
git remote remove <address>
git fetch <repos branch> #拉取远程仓库的内容,不进行合并
git pull <repos branch> #拉取远程仓库的master分支后与当前本地分支直接合并
git clone [-b <branch>] <address> #复制远程指定分支下代码,-b 分支名称
git branch <branch> [-a/-r] [-d] #创建分支,查看全部/远程分支,删除本地分支
git branch -m <old_branch> <new_branch> #本地分支重命名
git switch <branch> #切换分支
git push <repos> -d <branch> #删除远程分支
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。