Link to home
Create AccountLog in
Avatar of Robert Granlund
Robert GranlundFlag for United States of America

asked on

SSH to BitBucket and change branches

I am trying to push local changes to a BitBucket.  To connect to BitBucket:

  1. git add --all at the command line to add the files or changes to the repository.
  2. Enter git commit -m '<commit_message>' at the command line to commit new files/changes to the local repository. For the <commit_message> , you can enter anything that describes the changes you are committing.
  3. Enter git push 

 However, I do not want to push to the MAIN Branch.  I want to push to the Branch local/develop

I am not sure how to do this.

Any help with changing Branches will be VERY helpful

Avatar of Adelaido Jimenez
Adelaido Jimenez
Flag of United States of America image

Link to home
Create an account to see this answer
Signing up is free. No credit card required.
Create Account