php - Move a Git repository to another directory -


i want move git repository sub-directory there in present root folder. let me explain things first.

i have git repository testing in $home/repos/ (contains php code-base). want move testing $home/repos/php/ php sub-directory want create (anyway php directory not git repository)

my questions

  • if above explained move effect testing repository ?
  • does effect branches or commits or uncommitted changes in testing repository ?

moving repository different directory should have no effect on repository. move other kind of files, taking care move .git directory along it. .git directory git looks @ , compares against other stuff in project directory (wherever .git directory lives).


Comments