Sunday, February 22, 2015

Copying Git files/directories to a new project.

I had recently done something similar when forking off my dissertation work from a subversion repository to a Git repository and then separating out the R library completely.  Anyway, I'm in the process of trying to port someone's previous work into its own project as a soon to be MELPA installable Emacs package.

Long story short, I need to get this guy's file and I want to keep his history in tact.  So, without further ado, this fine gentleman has a quick way of doing that.  See his post here.

http://blog.neutrino.es/2012/git-copy-a-file-or-directory-from-another-repository-preserving-history/

No comments:

Post a Comment