Import old existing Git repo as GitBlit repository

2,058 views
Skip to first unread message

tiago fernandez

unread,
Jul 26, 2013, 1:52:25 PM7/26/13
to git...@googlegroups.com
Hello,
 
is there a way to import as GitBlit repository an existing Git repository that was not created by GitBlit?
 
Thanks.

James Moger

unread,
Jul 26, 2013, 1:54:04 PM7/26/13
to git...@googlegroups.com
Copy it or create a new empty repo and push to it.

-J

Sandra Warmbrunn

unread,
Jul 30, 2013, 5:08:39 AM7/30/13
to git...@googlegroups.com


Am Freitag, 26. Juli 2013 19:54:04 UTC+2 schrieb James Moger:
Copy it or create a new empty repo and push to it.

-J

And when I will export and import from gitblit to gitblit, what is with the users and teams? 
Must I create the same users and teams in the new gitblit and than create the new repos and push them all? 
 

James Moger

unread,
Jul 30, 2013, 7:41:52 AM7/30/13
to git...@googlegroups.com
Export from Gitblit and import to Gitblit.
Why would you be doing that?  Are you migrating to a different machine?  If so, it would be best to copy the entire ${baseFolder} location from the old server to the new server.

Users and Teams are stored separately from repository configs.
http://gitblit.com/administration.html#H14
http://gitblit.com/administration.html#H2

-J



 

--
You received this message because you are subscribed to the Google Groups "gitblit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gitblit+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Sandra Warmbrunn

unread,
Aug 2, 2013, 12:01:52 PM8/2/13
to git...@googlegroups.com
Yes I migrating to a different machine and I see the existing Version is older, so I create all (8) users and all (20) repos on the new server and then I push the repos in the new gitblit. All is fine. :) Thank you. 
But I have one Problem, but only with one repo-name I can not see it in the GUI I can push in it, I can see it in the directory, but I never see it in the GUI. It has an underscore, but I have many repos with an underscore. I rename it and then I see it, but I don't understand.
Reply all
Reply to author
Forward
0 new messages