【发布时间】:2015-01-12 16:26:46
【问题描述】:
假设我在 git 中有以下分支:
masterrelease-2014-11-02-some-long-text
我想轻松地在这些之间切换,如下所示:
git checkout devel # checkout to master
git checkout release # checkout to the branch release currently points/aliases to, in this case: release-2014-11-02-some-long-text (I would like to change this alias from time to time)
如何在 Git 中做到这一点?
【问题讨论】:
标签: git branch alias git-checkout