Skip to content

Instantly share code, notes, and snippets.

@AlexSJ
Created December 27, 2016 19:31
Show Gist options
  • Save AlexSJ/f33755f28efbf51c61313d36c8a53015 to your computer and use it in GitHub Desktop.
Save AlexSJ/f33755f28efbf51c61313d36c8a53015 to your computer and use it in GitHub Desktop.
Troca de branch sem dar push/pull
$ git add --all
$ git commit -m "WIP"
pode trocar de branch
Quando voltar para esse branch, se precisar comitar novas alterações no commit antigo, é só fazer
$ git commit --amend
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment