How to create a branch on remote and push to it? #3865
-
Say I'm on I can't seem to figure this out on Lazygit. I'll make a branch from my local |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
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. |
Beta Was this translation helpful? Give feedback.
-
Bumping this as I am getting the same issue - I can't push a new remote branch |
Beta Was this translation helpful? Give feedback.
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.