Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 03-20-2009, 07:44 AM   #1
Senior Member
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466
Blog Entries: 6

Rep: Reputation: 51
Help on GIT?

I have installed Git on Ubuntu 8.10 Intrepid Server.I followed one of doc which talks about Migrating SVN to GIT. Earlier SVN Repo was running on server with path svn://
I need to do migration to new ubuntu machine
This is what I did on the new GIT Server:
Dump the SVN Repo to local System from SVN Server for testing

#gunzip dumped.gz
#svnadmin load /home/tux/repository < dumped

Follow up the Steps:
1.	$ mkdir MyProjectSVN
2.	$cd MyProjectSVN
3.	$ sudo git-init

Create a users.txt file with SVN = GIT <email ID> Format
Add admin user too.

4.	$sudo git-svn clone --authors-file=/home/tux/users.txt svn://

That probably throwed error saying "root" user doesnt exist.I created root user.
Again it threw error saying "admin" user doesnt exist..Added admin user too..Then it went successfully
Now I can see lots of project name imported under /home/tux/MyProjectSVN/repository folder(whatever there were in SVN).
Now Few Questions on mind:

1. Does it means they have been completely migrated?
2. Does SVN still there?
3. How can I make this repository as sole GIT Repo and nothing shud left be on SVN Hand?
Old 03-20-2009, 08:34 AM   #2
Senior Member
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466

Original Poster
Blog Entries: 6

Rep: Reputation: 51
Also, I need help regarding the GIT Users.
What I see is I have migrated SVN users to GIT through users.txt in the format SVN= GIT <emailID>. Now One thing I am really confused about practically is:
Say I have those numerous users. In respect to GIT, Does it means they are system users?
It means shud I create account for them too on Linux Machine.
Since I want all users to login through putty and work out with check-out git branch, how will they access.
I did a practical checkup:
Created two Accounts : a1 and a2.
Logged-in through different putty.
Tried $git checkout <branchname>
It says : Permission Denied
Completely stucked with understanding how git gonna work.
Anyone who can make me understand as I am not finding a practical way of how Git Works !!!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
why is git scm named 'git'? hottdogg Linux - General 5 02-03-2009 08:25 AM
Using GIT vkmgeek Linux - General 1 12-25-2008 05:48 PM
inconsistency issue of git-clone ***/git/mesa/drm with the existing kernel source centguy Linux - Desktop 2 10-08-2008 11:36 PM
git vkmgeek Linux - Newbie 2 06-19-2008 10:11 AM
KMail is a git acid_kewpie Linux - General 0 09-15-2001 02:13 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:34 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration