$ git fetch origin
$ git checkout -b feature_branch_name origin/feature_branch_name
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