Why not try: git bundle --all MyRepo.bundle
which will create a single file which has "zipped/Tar'd" the repo in git format, and you can then delete the old repo and re-import/clone from the bundle. The bundle knows nothing of the higher level directory structure, only the structure of the project from the top of the workdir downward, so you can re-clone (or pull from) the bundle to anywhere! All the best with the directory move. (don't forget the RTM (carefully) step;-) Philip ----- Original Message ----- From: Dimitris Papageorgiou To: git-users@googlegroups.com Sent: Monday, July 20, 2015 4:39 PM Subject: Re: [git-users] creating a new branch Why move the repo one folder up... It is already there...at C:\Apache24\htdocs\Appointments\Administrator\ I do not quite understand...but more importantly...changing the dir structure of my web project it is something I want to avoid.... Τη Δευτέρα, 20 Ιουλίου 2015 - 6:17:52 μ.μ. UTC+3, ο χρήστης Nelson Efrain A. Cruz έγραψε: Assuming that those are the only folders (and files), one solution could be: move all your files (git mv) inside a folder called "Administrator" (like C:\Apache24\htdocs\Appointments\Administrator\Administrator) and then move the repo one folder up. I think this will be the easiest solution, of course there are other ways but they are much more complex. El lun., 20 de jul. de 2015 a la(s) 10:50 a. m., Dimitris Papageorgiou <foryo...@gmail.com> escribió: I have git init a working directory...here is it C:\Apache24\htdocs\Appointments\Administrator I now want to create git init another directory which sits above the aforementioned....C:\Apache24\htdocs\Appointments So....in essence....I want to disregard/delete the old branch/repo(C:\Apache24\htdocs\Appointments\Administrator)...but keep the commits and transfer them to the new repo. How am I going to do it? I hope I was clear. -- 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+...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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/d/optout. -- 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/d/optout.