[SATLUG] Re: Any Git Experts?

Steev Klimaszewski threeway at gmail.com
Fri May 24 20:34:50 CDT 2013


--hard will remove all changes, only use it in dire circumstances.


On Fri, May 24, 2013 at 7:13 PM, Christopher Lemire <
christopher.lemire at gmail.com> wrote:

> I was reading that doing
>
> git reset --hard HEAD~1
>
> would set me back one commit from HEAD without deleting any work in
> progress. But I backed up the source code directory just in case. It
> did set back the source code of that committed file as well, so I took
> from the code from the backup, copied and pasted. Now all is good. I
> just think git has a cleaner way of handling that than what I had to
> do.
>
> Christopher Lemire <christopher.lemire at gmail.com>
> Fedora 64 bit Linux Raid Level 0
>
> Gnu Privacy Guard Key Fingerprint = 32CA 0B0B 8A07 6969 7581 BD47 6053
> 3930 1D4B DC3E
>
> Web: http://linuxinnovations.blogspot.com
> Code: https://github.com/BullShark/JSpeak
> --
> _______________________________________________
> SATLUG mailing list
> SATLUG at satlug.org
> http://alamo.satlug.org/mailman/listinfo/satlug to manage/unsubscribe
> Powered by Rackspace (www.rackspace.com)
>


More information about the SATLUG mailing list