Fun On Rails
A Ruby and Rails Blog
Home
Rails Developers in India
About
MY CV
Contact me
Feed RSS
Wednesday, August 17, 2011
Migrating from svn to git
by
sandipransing
0
comments
Tweet
Migrating from svn to git
1. Install git-svn
sudo apt-get install git-svn
2. Clone svn repositoy
git svn clone -s svn://server/project_myt/trunk proj
To add svn users and git users mapping
Create author-file
#vi authorsfile sandip = sandipransing
amit = amitk
root = sandipransing
git svn --author-file=authorfile clone -s svn://server/project_myt/trunk proj
3. Add git repository url
cd proj git remote add git@github.com:USERNAME/project.git
4. Push repository to git
git push origin master
To do svn pull for latest changes
git svn rebase
Read More…
Newer Posts
|
Older Posts
|
Home
|
About The Author
Sandip is a ruby on rails developer based in pune and also a blogger at
funonrails
. Opensource contributor and working with Josh software Private Limited. for more info
read
Follow
Sandip on Twitter
for updates.
Connect With Me...
Labels
active record
(8)
api
(4)
associations
(2)
authorize-net
(3)
aws
(2)
best-practices
(2)
bootstrap
(2)
cms
(3)
datepicker
(1)
delayed-job
(4)
devise
(1)
form-builder
(2)
heroku
(3)
installation
(11)
jQuery
(3)
meta-programming
(4)
mongoid
(2)
mysql
(4)
nginx
(5)
paperclip
(2)
passenger
(3)
payment gateway
(5)
paypal
(1)
radiant
(3)
rails
(67)
rails 3
(15)
regular expression
(1)
routes
(2)
ruby
(27)
rvm
(1)
sass
(2)
seo
(3)
stripe
(1)
thinking sphinx
(2)
tinyMCE
(1)
ubuntu
(17)
vim
(3)
Github Projects
Rails Tiny MCE
Library Management System
Rails Tootip using JQuery
Rails Active Calendar
Prawn Example
Radiant Session Management Extension
Build Your CV using Prawn Library
(View All)
Blog Archive
►
2012
(12)
►
October
(1)
►
April
(1)
►
February
(1)
►
January
(9)
▼
2011
(35)
►
December
(15)
►
November
(3)
►
October
(1)
►
September
(1)
▼
August
(1)
Migrating from svn to git
►
July
(1)
►
April
(2)
►
March
(6)
►
February
(1)
►
January
(4)
►
2010
(51)
►
December
(3)
►
November
(2)
►
October
(5)
►
September
(2)
►
August
(7)
►
May
(1)
►
April
(3)
►
March
(14)
►
February
(13)
►
January
(1)
►
2009
(53)
►
December
(2)
►
November
(17)
►
October
(9)
►
September
(13)
►
August
(2)
►
May
(10)
@sandipransing
Twitter
Blog Links
Add Smilies