I have a git repo, and currently I'm the only one using it. I want to take all the files and folders under the root folder, and put them inside a new folder.
Current structure:
main -> src res
New structure:
main -> app1 src res
Is there a way I can do that so that the files don't lose their git history?
git add -A .
after you have moved folder/files. Make sure you don't do any edits.git add {empty directory}
is a NOOP. Anyways, it sucks to have to use--follow
just because we moved files