Git workflow idea to push an unfinished local branch to remote for backup purposes

Posted by Zubin on Stack Overflow See other posts from Stack Overflow or by Zubin
Published on 2010-05-19T16:59:01Z Indexed on 2010/05/19 17:10 UTC
Read the original article Hit count: 204

Filed under:
|
|

Say I'm currently working on a new feature which I've branched off of the 'dev' branch and I've been working for several days and it's not yet ready to be merged with 'dev' and pushed.

Although I have made several commits and have been pulling changes to dev and then merging dev into my feature branch to keep myself updated.

Here's my question. Is it a good idea to push my feature branch to a new branch (with the same name as my local branch) onto origin (say GitHub) just for back-up purposes and later on when it's merged into 'dev' and/or 'master' delete it from origin.

© Stack Overflow or respective owner

Related posts about git

Related posts about github