Skip to content

How to create a branch on remote and push to it? #3865

Answered by stefanhaller
MMachado05 asked this question in Q&A
Discussion options

You must be logged in to vote

Create your branch locally, e.g. from your local main. Make your commits. Once you're ready to push it to the remote, hit shift-P; it will ask you to which remote you want to push, and with which remote branch name.

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
2 replies
@MMachado05
Comment options

@canton7
Comment options

Answer selected by MMachado05
Comment options

You must be logged in to vote
8 replies
@Jnolcox
Comment options

@mark2185
Comment options

@Jnolcox
Comment options

@canton7
Comment options

@Jnolcox
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants