How juggle branches?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



First, I develop program which uses mysql in branch master.
Next i change name this branch to before_hbase, and began develop HBase in branch master. I also develop before_hbase. Now, instead HBase will be MapR-DB which will before_hbase , not master succesor.
How do:
- change before_hbase to master
- old master to hbase
- develop MapR in mapr branch
?
I am in master branch and am changing to hbase:
git checkout -b hbase
git push origin hbase

now worse:
I am in branch before_hbase and need change to master
git checkout -b master  - not works because master exists

I must use rebase? I hear, that rebase can be used only in private (.git), not github repositories. If I change to master and copy files and next commit - change will not atomic.



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux