Skip to content

Instantly share code, notes, and snippets.

@rintoug
Last active December 17, 2020 13:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rintoug/87e1c8c0309c69136b111ef777ee7815 to your computer and use it in GitHub Desktop.
Save rintoug/87e1c8c0309c69136b111ef777ee7815 to your computer and use it in GitHub Desktop.
Git Work Flow

How do I clone a specific Git branch?

git clone --single-branch --branch <branchname> <remote-repo>

Create a FEATURE Branch

git checkout -b feature/MYFEATURE develop

Pull other's changes from remote

git pull origin feature/featurename

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment