LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-20-2009, 06:44 AM   #1
your_shadow03
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 192.168.2.31 server with path svn://192.168.2.31/home/tux/repository.
I need to do migration to new ubuntu machine 192.168.2.47
This is what I did on the new GIT Server:
Code:
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://192.168.2.31/home/tux/repository

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, 07:34 AM   #2
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466
Blog Entries: 6

Original Poster
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:
Code:
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 !!!
 
  


Reply


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 07:25 AM
Using GIT vkmgeek Linux - General 1 12-25-2008 04:48 PM
inconsistency issue of git-clone ***/git/mesa/drm with the existing kernel source centguy Linux - Desktop 2 10-08-2008 10:36 PM
git vkmgeek Linux - Newbie 2 06-19-2008 09:11 AM
KMail is a git acid_kewpie Linux - General 0 09-15-2001 01:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:11 PM.

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