How are remote branch, remote tracking branch and local tracking branch set to correspond to each other?
以吉特为单位,
如何将远程分支和远程跟踪分支设置为彼此对应?
如何将远程跟踪分支和本地跟踪分支设置为彼此对应?
它们是在
它们是否作为一些配置变量记录在一些配置文件中?是否可以手动修改?
how are a remote branch and a remote tracking branch set to correspond to each other?
号
Git将远程跟踪分支存储在
在执行
how are a remote tracking branch and a local tracking branch set to correspond to each other?
号
Git记得当地
1 2 3 4 5 | [remote"origin"] url = git@server/repo.git fetch = +refs/heads/*:refs/remotes/origin/* [branch"master"] remote = origin |
现在Git知道远程跟踪分支
Are they done during git clone?
号
最初,是的。
Are they recorded as some configuration variables in some configuration files?
号
是的,在当地的
Are they manually modifiable?
号
大多数情况下是的,尽管工作量可能很高——您需要在目录