Re: [git-users] Help on move the git repo directory from /opt/git to /passdev/git on unix server

2013-06-26 Thread lingfei ouyang
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,

Re: [git-users] Help on move the git repo directory from /opt/git to /passdev/git on unix server

2013-06-26 Thread Gergely Polonkai
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,

Re: [git-users] Help on move the git repo directory from /opt/git to /passdev/git on unix server

2013-06-26 Thread lingfei ouyang
Thanks Gergely. Ling On Wed, Jun 26, 2013 at 1:42 PM, Gergely Polonkai gerg...@polonkai.euwrote: 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

[git-users] Help on move the git repo directory from /opt/git to /passdev/git on unix server

2013-06-25 Thread Ling
Hello, I'm about to move the git repository directory from current one: /opt/git to new one: /passdev/git. And I got some question regards how to perform this? First I will Shut down git and I tried to search online but I can't find any links on how to shutdown git? could you let me know

Re: [git-users] Help on move the git repo directory from /opt/git to /passdev/git on unix server

2013-06-25 Thread Dale R. Worley
From: Ling oylf1...@gmail.com I'm about to move the git repository directory from current one: /opt/git to new one: /passdev/git. And I got some question regards how to perform this? First I will Shut down git and I tried to search online but I can't find any links on how to shutdown

Re: [git-users] Help on move the git repo directory from /opt/git to /passdev/git on unix server

2013-06-25 Thread lingfei ouyang
Thanks a lot for the fast response, Dale. That's all I need :). Ling On Tue, Jun 25, 2013 at 11:02 AM, Dale R. Worley wor...@alum.mit.eduwrote: From: Ling oylf1...@gmail.com I'm about to move the git repository directory from current one: /opt/git to new one: /passdev/git. And I

Re: [git-users] Help on move the git repo directory from /opt/git to /passdev/git on unix server

2013-06-25 Thread lingfei ouyang
Hello Dale, Just another quick question? Since after we move the git repo folders, how I can check if the git is running correctly? Thanks Ling On Tue, Jun 25, 2013 at 11:04 AM, lingfei ouyang oylf1...@gmail.com wrote: Thanks a lot for the fast response, Dale. That's all I need :). Ling

Re: [git-users] Help on move the git repo directory from /opt/git to /passdev/git on unix server

2013-06-25 Thread Konstantin Khomoutov
On Tue, 25 Jun 2013 11:26:53 -0400 lingfei ouyang oylf1...@gmail.com wrote: Just another quick question? Since after we move the git repo folders, how I can check if the git is running correctly? Uh... Clone the moved repo from a client? -- You received this message because you are

Re: [git-users] Help on move the git repo directory from /opt/git to /passdev/git on unix server

2013-06-25 Thread Magnus Therning
On Tue, Jun 25, 2013 at 07:43:14PM +0400, Konstantin Khomoutov wrote: On Tue, 25 Jun 2013 11:26:53 -0400 lingfei ouyang oylf1...@gmail.com wrote: Just another quick question? Since after we move the git repo folders, how I can check if the git is running correctly? Uh... Clone the moved

Re: [git-users] Help on move the git repo directory from /opt/git to /passdev/git on unix server

2013-06-25 Thread Dale R. Worley
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