git reset --hard orgin/master
$ git push bit 1.8-subchannelsTo git@bitbucket.org:cms.git! [rejected] 1.8-subchannels -> 1.8-subchannels (fetch first)error: failed to push some refs to 'git@bitbucket.orgcms.git'hint: See the 'Note about fast-forwards' in 'git push --help' for details.$ git pull bit 1.8-subchannels remote: Counting objects: 5, done.remote: Compressing objects: 100% (5/5), done.remote: Total 5 (delta 4), reused 0 (delta 0)Unpacking objects: 100% (5/5), done.From bitbucket.org:cms* branch 1.8-subchannels -> FETCH_HEADe1faddc..a14be49 1.8-subchannels -> bit/1.8-subchannelsMerge made by the 'recursive' strategy.app/controllers/subchannels_controller.rb | 3 +--1 file changed, 1 insertion(+), 2 deletions(-)$ git logcommit c9f151b41286ac10656dcb8177abee1Merge: fee23b3 a14be49Author: wDate: Tue Apr 12 11:20:31 2016 +0800Merge branch '1.8-subchannels' of bitbucket.org:cms into 1.8-subchannelscommit fee23b36ead5ad8991097204001954bAuthor: wDate: Tue Apr 12 11:20:03 2016 +0800add version to 1.2 subchannelcommit a14be49f66a5865fc6253d9f4ae655bAuthor: RDate: Tue Apr 12 10:48:16 2016 +0800Fix else if syntax errorcommit e1faddc216081deea2c7e80657369732cAuthor: wDate: Mon Apr 11 18:30:16 2016 +0800add version to subchannel$ git reset --hard fee23b36ead5ad899109720400HEAD is now at fee23b3 add version to 1.2 subchannel$ git pull --rebase bit 1.8-subchannels$ git push bit 1.8-subchannels Counting objects: 68, done.Delta compression using up to 4 threads.Compressing objects: 100% (12/12), done.Writing objects: 100% (12/12), 1.18 KiB | 0 bytes/s, done.Total 12 (delta 8), reused 0 (delta 0)remote: remote: Create pull request for 1.8-subchannels:remote: https://bitbucket.orgcms/pull-requests/new?source=1.8-subchannels&t=1remote: To git@bitbucket.org:cms.gita14be49..a76e5cb 1.8-subchannels -> 1.8-subchannels