Can I rebase a Git branch without modifying my working copy?

后端 未结 7 2001
南旧
南旧 2020-12-08 09:16

Suppose I have my \"master\" branch checked out. I\'ve committed some production changes to \"master\", and now I want to rebase my \"experimental\" branch onto the latest m

7条回答
  •  情歌与酒
    2020-12-08 09:59

    I would also love it, but this leaves no hope to me:

    If is specified, git rebase will perform an automatic git checkout before doing anything else. Otherwise it remains on the current branch.

    http://git-scm.com/docs/git-rebase

提交回复
热议问题