Skip to content

state of being up to date after accepting a pull-request and branches #21677

Discussion options

You must be logged in to vote

Hi @cleymspaze,

Thank you for being here!  You can tell git when you want to checkout the branch with:

git checkout <name>

``

This will put you on the new branch before committing changes. With GitHub, you can deploy from a branch for final testing in production before merging to master. Also, publish your changes to the remote by using “git push” from time to time.

For instance your workflow may look something like this: 

  1. Create a private branch (remote) off a public branch, in your case the contrib branch.
  2. Regularly commit your work to this private branch.
  3. Once your code is perfect, clean up its history.
  4. Merge the cleaned-up branch back into the public branch.

I hope this helps! I loo…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants