You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.
When you push, all the branches get updated on remote and not just the one you are working on.
Steps to reproduce:
-- Create a branch from master called test 1
-- Make a commit to that branch (a)
-- Create a branch from master called test 2
-- Make a commit to that branch (b)
-- Run the command to add + commit + push
I would expect only the current branch to be pushed but all local branches are pushed.
Some are pushed unintentionally such as a master branch that you were testing things on. I understand that I could do a better git flow here but to push all branches locally to remote is likely not the best or the intended method of the developers.
The text was updated successfully, but these errors were encountered:
joncodo
changed the title
[REQUEST]
[REQUEST] Dont push all branches at once
May 30, 2017
I can't reproduce this. None of the commands in this package would push all branches. The only way I can see this happening is if you had some git config that was causing git push to behave like git push --all.
When you push, all the branches get updated on remote and not just the one you are working on.
Steps to reproduce:
I would expect only the current branch to be pushed but all local branches are pushed.
Some are pushed unintentionally such as a master branch that you were testing things on. I understand that I could do a better git flow here but to push all branches locally to remote is likely not the best or the intended method of the developers.
The text was updated successfully, but these errors were encountered: