git常见用法
 
图片来自https://www.runoob.com/git/git-basic-operations.html
新建/复制git仓库:
1.git init
2.git clone <SSH[address]>
查看/创建/删除分支:
git branch -a/ git branch <branchname> /git branch -d <branchname>
将分支合并到主分支:
git merge <branchname>
查看git状态
git status
查看提交历史:
git log / git log --oneline
查看文件修改记录:
git blame <filename>
查看远程仓库:
git remote
获取远程仓库新分支:
git fetch <SSH[address]>
 
                    
                 
                
            
         浙公网安备 33010602011771号
浙公网安备 33010602011771号