git - Work with multiple branches locally but pushing once -


is there way work locally on different branches, commiting, merging, checkout, etc. without pushing? work in different branches in project, push @ once , correct branches.

for example:

  1. merge branch1 branch2
  2. checkout branch3
  3. few commits in branch3
  4. checkout branch2
  5. few commits in branch2
  6. now push correct branches

done

thank you.

there's nothing forcing push before want (assuming have solution remote backup).

so yes, can work in various branches , push when you're ready publish work other users.


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -