Open violet0sea opened 6 years ago
比较本地仓库和远程仓库的差别 以master分支为例 git diff master origin/master
删除已经提交到远程仓库的文件,并将文件加入ignore文件里 git rm --cache
提示需要-r 待理解
拉取远程分支 git checkout -b [local branch name] [name of remote]/[reomte branch name]
比较本地仓库和远程仓库的差别 以master分支为例 git diff master origin/master
删除已经提交到远程仓库的文件,并将文件加入ignore文件里 git rm --cache
提示需要-r 待理解
拉取远程分支 git checkout -b [local branch name] [name of remote]/[reomte branch name]