On 6/4/08, Sean Brown <seanmichaelbrown@xxxxxxxxx> wrote: > So now when colleagues clone my repository, they get the source code > in the "sourcecode" folder. I'd like to just make the repository > simply give them the source files, not in a directory. In other > words, as if I had originally been smart and done this: > > cd /folderA/sourcecode > git init > > Can I make that happen without losing all of the history? You could just make a commit which renames all the files into the parent folder. This is relatively harmless and correctly reflects what really happened. You might also want to look at git-filter-branch and its "--subdirectory-filter" option. Have fun, Avery -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html