开发者

What does the git option remote.unfuddle.push do?

开发者 https://www.devze.com 2023-03-28 13:29 出处:网络
What 开发者_开发知识库changes will be made if below line is set? git config remote.unfuddle.push refs/heads/master:refs/heads/masterIt will configure your current repository (use the --global switch

What 开发者_开发知识库changes will be made if below line is set?

git config remote.unfuddle.push refs/heads/master:refs/heads/master


It will configure your current repository (use the --global switch to perform the config for your current user account). It tells git, that for the remote unfuddle it should only push the master branch.

So git push unfuddle will only push master to the remote repository, even though other branches may exist and might have been updated (and thus pushed with the default configuration)

0

精彩评论

暂无评论...
验证码 换一张
取 消