brain/src/dev/tools/git.md
Wilfried OLLIVIER 763f8ccaa6 Add git stuff
2017-11-02 08:07:09 +01:00

268 B

Git

Fetch a remote branch

  • Create a local branch that tracks a remote branch
git checkout --track origin/develop

If you want to change the name of the local branch (NOT A GOOD IDEA)

git checkout --track -b gniagnia origin/develop