- 博客(0)
- 资源 (1)
- 收藏
- 关注
git命令大全-git-cheatsheet.docx
CREATE
Clone an existing repository
$ git clone ssh://user@domain.com/repo.git
Create a new local repository
$ git init
LOCAL CHANGES
Changed files in your working directory
$ git status
Changes to tracked files
$ git diff
Add all current changes to the next commit
$ git add .
Add some changes in <file> to the next commit
$ git add -p <file>
Commit all local changes in tracked files
$ git commit -a
Commit previously staged changes
$ git commit
Change the last commit
Don‘t amend published commits!
$ git commit --amend
。。。等更多内容
2018-07-25
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人