git a/xyz or b/xyz

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello

When we are reading a "git diff", all paths are prefixed with "a/" and "b/". Example:

diff --git a/xyz
index 4aa4b5230..1c2b8b69e 100644
--- a/xyz
+++ b/xyz
@@ -1,7 +1,7 @@


With my terminal, I double click on the path to select the full path for copy.

Then, when I paste: "git log a/xyz",
 git says: unknown revision or path not in the working tree

Ok, I need to remove the "a/" or "b/".
But, is git can understand that "a/xyz" is "xyz" because "a/xyz" does not exist?

Thanks



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux