[Git]setting an existed local branch to track a remote branch
2013-04-17 09:26
1111 查看
In Git version 1.7.x:git br --set-upstream {local_branch} {remote}/{remote_branch
}In Git Version 1.8.x:git branch -u {remote}/{remote_branch} {local_branch}
相关文章推荐
- How to Push a New Local Branch to a Remote Git Repository
- [Git] How to rename your remote branch
- Track all remote git branches as local branches
- git push错误 remote: error: refusing to update checked out branch: refs/heads/master 解决方式
- How to delete the remote branch in git
- Push local non-git project to remote github repo
- Git- [!remote rejected]:refusing to delete the current branch
- git之Pushing to the remote branch is not fast-forward错误解决
- Git: How to revert a merge commit that's already pushed to remote branch?
- Git: Delete a branch (local or remote)
- Asterisk Registry(registe an account to local asterisk server)
- git 提交代码remote: error:updating the current branch in a non-bare repository is denied
- An easy way to track state of network connection using Perl
- GitHub git clone时,提示warning: remote HEAD refers to nonexistent ref, unable to checkout.
- Remote git pull to update multiple servers
- git提示 error: Your local changes to the following files would be overwritten by merge:
- git clone: SSL certificate problem: unable to get local issuer certificate
- git - Trying to create a local repo of go.tools that is go get-able - Stack Overflow
- Git pull error:Your local changes to the following files would be overwritten by merge解决方法