reverting a file or files back to repository copy

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

 



How do I do the eqivalent of an 'svn revert' on a single file, on a directory of files, or on all files ?

I found 'git reset --hard HEAD' but it seems like a hammer to crack open a nut.

Many thanks in advance,

Aaron

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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]