Dear Wiki user,

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

The "UsingGit" page has been changed by ChrisMattmann:
https://wiki.apache.org/tika/UsingGit?action=diff&rev1=1&rev2=2

Comment:
- add migration instructions; remove Warning

+ Apache Tika uses the [[http://git-scm.com/|Git]] version control system. 
Apache provides writeable Git repositories hosted at 
[[https://git-wip-us.apache.org|https://git-wip-us.apache.org/]]. This guide 
assumes you have read the guides and information provided on the Apache Git-WP 
page.
- {{{#!wiki caution
- '''Pending a VOTE'''
  
+ = Migrating from an existing SVN checkout of Tika to Git == 
- This page will become valid if the VOTE for Apache Tika to move to using Git 
passes.
- }}}
  
- Apache Tika uses the [[http://git-scm.com/|Git]] version control system. 
Apache provides writeable Git repositories hosted at 
[[https://git-wip-us.apache.org|https://git-wip-us.apache.org/]]. This guide 
assumes you have read the guides and information provided on the Apache Git-WP 
page.
+ If you need to migrate from an SVN checkout of Tika to Git, follow these 
instructions below.
+ 
+  1. `svn status`
+     (ensured no local changes)
+  2. `mv .svn .svn.old` (or simply `find . -name "*.svn" -exec rm -rf {} \;`)
+  3. `git init`
+  4. `git remote add origin https://git-wip-us.apache.org/repos/asf/tika.git`
+  5. `git checkout -b merge-branch`
+  6. `git fetch --all`
+  7. `git reset --hard origin/master`
+  8. `git checkout master`
+ 
+ And on my Tika 2.x checkout the last two steps were changed to:
+  
+  1. `git reset --hard origin/2.x`
+  2. `git checkout 2.x`
  
  = Checking out a copy of Tika and modifying it =
  

Reply via email to