git命令中“ develop”和“ origin / develop”的区别是什么

Mor*_*a M 3 git command push

我是新手,开始将git用于项目。我没有注意到“分支”和“来源/分支”之间的区别,请指导我。 我面临的挑战的图片

Saj*_*han 5

Branch是您的本地分支机构,origin/Branch是您的远程分支机构。

要确保哪个分支是本地的或远程的,只需使用以下git命令。

$ git branch     # see local branches
$ git branch -r  # see remote branches
$ git branch -a  # see local and remote branches
Run Code Online (Sandbox Code Playgroud)