Can I move the .git directory for a repo to it’s parent directory?
You can do what you are describing like this: Move the content of ABC to an ABC/ subdirectory, and fix the history so that it looks like it has always been there: $ cd /path/to/ABC $ git filter-branch –index-filter \ ‘git ls-files -s | sed “s-\t-&ABC/-” | GIT_INDEX_FILE=$GIT_INDEX_FILE.new \ git update-index –index-info && mv $GIT_INDEX_FILE.new … Read more