git命令大全-git-cheatsheet.docx

时间:2021-08-14 05:14:02
【文件属性】:

文件名称:git命令大全-git-cheatsheet.docx

文件大小:844KB

文件格式:DOCX

更新时间:2021-08-14 05:14:02

git 命令

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 to the next commit $ git add -p 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 。。。等更多内容


网友评论