hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Update of "MigratingPrivateGitBranches" by SteveLoughran
Date Wed, 03 Sep 2014 13:15:37 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.

The "MigratingPrivateGitBranches" page has been changed by SteveLoughran:
https://wiki.apache.org/hadoop/MigratingPrivateGitBranches?action=diff&rev1=3&rev2=4

Comment:
add more on cleanup and branch-2

  
  Repeat for all other branches you've made. It is best to get this over with in one go.
  
+ '''branch-2 derived work''': if your private branches are off branch-2, repeat as above,
after checking out {{asflive/branch-2}} to {{live/branch-2}}
+ 
  == Finishing the migration ==
  
  After you have have migrated all the branches you want to, you can clean up the branches.
@@ -151, +153 @@

  > git remote rename asflive origin
  }}}
  
+ Rename the trunk branch
  
- You are now ready to get back to work!
  
+ After you have have migrated all the branches you want to, you can clean up the branches.
+ 
+ Drop the old remote (assuming it was called {{{origin}}})
+ 
+ {{{
+ > git remote remove origin
+ }}}
+ 
+ Rename {{{asflive}}} to be {{{origin}}}
+ 
+ {{{
+ > git remote rename asflive origin
+ }}}
+ 
+ 
+ Rename {{{trunk
+ 
+ {{{
+ > git branch -m live/trunk origin
+ }}}
+ 

Mime
View raw message