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:
- merge branch1 branch2
- checkout branch3
- few commits in branch3
- checkout branch2
- few commits in branch2
- 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
Post a Comment