Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

[REQUEST] Dont push all branches at once #678

Closed
joncodo opened this issue May 30, 2017 · 2 comments
Closed

[REQUEST] Dont push all branches at once #678

joncodo opened this issue May 30, 2017 · 2 comments

Comments

@joncodo
Copy link

joncodo commented May 30, 2017

When you push, all the branches get updated on remote and not just the one you are working on.

Steps to reproduce:

  1. -- Create a branch from master called test 1
  2. -- Make a commit to that branch (a)
  3. -- Create a branch from master called test 2
  4. -- Make a commit to that branch (b)
  5. -- 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.

@joncodo joncodo changed the title [REQUEST] [REQUEST] Dont push all branches at once May 30, 2017
@akonwi
Copy link
Owner

akonwi commented Jun 8, 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.

@joncodo
Copy link
Author

joncodo commented Jun 8, 2017

If this can't be reproduced, feel free to close. :) Thank you for taking the time

@joncodo joncodo closed this as completed Jun 8, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants