|
![](/i/fill.gif) |
On 4/13/2012 1:07, Invisible wrote:
> If I do this with Git branches, then on branch B, a file named X suddenly
> shows up, but there's no record that it was actually copied from branch A.
Sure there is. Otherwise, if you update X and push it, git won't know what
to push. Now, yes, if you copy just one file without actually copying the
commit from A, then you're not going to know the file came from A. But
that's the case if you stick the file on a USB stick and copy it that way
too. Answer: don't do that. Copy commits, not individual files.
--
Darren New, San Diego CA, USA (PST)
"Oh no! We're out of code juice!"
"Don't panic. There's beans and filters
in the cabinet."
Post a reply to this message
|
![](/i/fill.gif) |