Hello Lingfei,

as Git doesn't store anything about the absolute path of the repository
(only stuff under the directory containing the .git directory counts), you
don't have to do anything else but the move on the server side. Of course,
if the developers set it up like "user@gitserver:/opt/git", they should
change their remote to "user@gitserver:/passdev/git" instead.

Best,
Gergely
On 26 Jun 2013 19:38, "lingfei ouyang" <oylf1...@gmail.com> wrote:

> Thanks all and back to my first question: regards the move whole repo
> directories, as Dale said I only need move the entire directory structure
> to the new place. but after move just want to confirm do I need to run init
> and commit again for each .git repositories?
>
> Thanks
> Lingfei
>
>
> On Tue, Jun 25, 2013 at 2:36 PM, Dale R. Worley <wor...@alum.mit.edu>wrote:
>
>> > From: lingfei ouyang <oylf1...@gmail.com>
>> >
>> > Just another quick question? Since after we move the git repo folders,
>> how
>> > I can check if the git is running correctly?
>>
>> Well, you could just run any Git command and see if it works.
>>
>> But one choice is to do "git fsck" with any arguments needed to make
>> it as comprehensive as possible.  If that passes, your repository is
>> probably in correct shape.
>>
>> Dale
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Git for human beings" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/git-users/BzQnBYHqZFQ/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> git-users+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Git for human beings" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to git-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

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


Reply via email to