David ?Bombe? Roden wrote:
> On Wednesday 24 June 2009 14:08:02 sashee wrote:
> 
>> As I'm making more and more toadlets and other files, I'm feeling the
>> need to put all of them to a different package(ajaxpush), but I've
>> already created them. Is there a way in git to move files preserving
>> history?
> 
> Just git-rm and git-add them, Git will automatically detect those actions 
> being a rename if the content is similar enough.

git-mv works too :) and yes, you should do git-mv and commit immediately,
otherwise git might not be able to detect it. i've made that mistake several 
times.

X


Reply via email to