commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Commons Wiki] Update of "MovingToGit" by BenediktRitter
Date Thu, 08 Jun 2017 17:46:23 GMT
Dear Wiki user,

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

The "MovingToGit" page has been changed by BenediktRitter:
https://wiki.apache.org/commons/MovingToGit?action=diff&rev1=6&rev2=7

Comment:
Better formatting

  
  == Migrate code to new repository ==
  
- 1. Clone the new Git repository: git clone https://git-wip-us.apache.org/repos/asf/commons-foo.git
+  1. Clone the new Git repository: git clone https://git-wip-us.apache.org/repos/asf/commons-foo.git
- 2. Add the already existing GitHub mirror as new remote: git remote add GitHub git@github.com:apache/commons-foo.git
+  2. Add the already existing GitHub mirror as new remote: git remote add GitHub git@github.com:apache/commons-foo.git
- 3. Create the master branch: git checkout -b master
+  3. Create the master branch: git checkout -b master
- 4. Add all commits from the mirrored trunk branch from the GitHub mirror to the master branch:
git fetch github trunk && git merge github/trunk
+  4. Add all commits from the mirrored trunk branch from the GitHub mirror to the master
branch: git fetch github trunk && git merge github/trunk
- 5. Add all other branches and tags to your local repository
+  5. Add all other branches and tags to your local repository
- 6. push everything to the new repository
+  6. push everything to the new repository
  
  == Update pom and website ==
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message