Doing git-push without origin master

前端 未结 3 820
無奈伤痛
無奈伤痛 2020-12-17 21:05

Is there a way on GIT to just do a \"git push\" and it automatically send to \"origin master\" without specify that? Just curious...

3条回答
  •  情歌与酒
    2020-12-17 21:50

    The default behaviour is defined by the push.default configuration setting.

    If you do a search for push.default on http://git-scm.com/docs/git-config you'll find an explanation for its various options.

提交回复
热议问题