gitolite: default remotes for new repository

后端 未结 2 1806
星月不相逢
星月不相逢 2020-12-06 10:20

I\'ve installed gitolite (locally for now, to experiment) and it seems to work, except that new repositories are not tracking the remote by default after a git clone. If I r

2条回答
  •  醉梦人生
    2020-12-06 11:03

    You can use git branch --set-upstream command, eg.:
    git branch --set-upstream develop origin/develop

提交回复
热议问题