使用git

时间:2016-11-27 23:19:23

标签: git

对于我的开发工作流程,在测试时我经常在远程计算机上使用git存储库,然后使用receive.denyCurrentBranch updateInstead设置将我的本地更改部署到远程服务器。

是否有惯用的方法来检查远程计算机上的新分支。

例如,现在有一个新功能:

git checkout -b new-feature
git push origin new-feature:new-feature
<Then I need to ssh to the remote server and git checkout new-feature>

我的问题是,是否有一种惯用的方法可以避免我需要登录该服务器以更改工作副本的步骤。

0 个答案:

没有答案