Re: What about git cp ?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Francis Moreau <francis.moro@...>
Cc: <git@...>
Date: Sunday, February 3, 2008 - 2:55 pm

"Francis Moreau" <francis.moro@gmail.com> writes:


Git don't attach history to a file, but to a content. Just do a:
cp foo bar
git add bar
git commit -m "copying foo to bar"

And it will be done, and when needed, git will be able to know that
this was a copy.

-- 
Rémi Vanicat
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
What about git cp ?, Francis Moreau, (Sun Feb 3, 2:23 pm)
Re: What about git cp ?, Remi Vanicat, (Sun Feb 3, 2:55 pm)
Re: What about git cp ?, Matthieu Moy, (Sun Feb 3, 2:46 pm)
Re: What about git cp ?, Jakub Narebski, (Sun Feb 3, 3:07 pm)
[RFC/PATCH] Implement git-cp., Miklos Vajna, (Sat Feb 9, 9:12 pm)
Re: [RFC/PATCH] Implement git-cp., Johannes Schindelin, (Sat Feb 9, 9:26 pm)
[PATCH] Implement git-cp., Miklos Vajna, (Sun Feb 10, 2:24 pm)
Re: [RFC/PATCH] Implement git-cp., Junio C Hamano, (Sun Feb 10, 3:49 am)
Re: [RFC/PATCH] Implement git-cp., Matthieu Moy, (Mon Feb 11, 6:18 am)
Re: [RFC/PATCH] Implement git-cp., Miklos Vajna, (Mon Feb 11, 9:43 am)
Re: [RFC/PATCH] Implement git-cp., Jakub Narebski, (Sun Feb 10, 9:30 pm)
Re: [RFC/PATCH] Implement git-cp., Robin Rosenberg, (Sun Feb 10, 9:29 am)
Re: [RFC/PATCH] Implement git-cp., Johannes Schindelin, (Sun Feb 10, 8:33 am)
Re: [RFC/PATCH] Implement git-cp., Miklos Vajna, (Sun Feb 10, 8:42 am)