what I was trying to say is: your repo contains the files inside
administrator folder, so you can make a new folder called administrator
inside your repo and move all the files in the repo inside that folder.
Then the folder that contains your repo can be renamed to appointments and
moved one level up to replace the old appointments folder. At the end you
will have a repo that contains your administrator folder and all the old
history will be there, plus the history of the last change. Also your file
structure will be the same at the end.

I'm saying do not make a new repo, just make the change you need, maybe
this is not what you want at all.

El lun, jul 20, 2015 12:39, Dimitris Papageorgiou <foryou1...@gmail.com>
escribió:

> 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.

Reply via email to