$ git fetch origin
$ git checkout -b feature_branch_name origin/feature_branch_name
![Practical Web Programming](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjhRK2BAxIuAEQFApfHIEROiVuaVJdi9hxZBi2e5WmdRsWY7pQmiVnFwvn4JBlGkiSnN5ePWM1gTHMg5zS2HFhqa_FELXHh5-dL_hWpF92BencfYKUfqPdcGLzYuSMQBiBPlS4SQ/s1600/Practical_Web_Programming.png)
Wednesday, August 07, 2013
git: Checkout a branch from a remote repo
If you already pushed a feature branch to origin and the deleted that branch in your local repository, you can get a copy that branch to your local using this git command:
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment