Re: git -- how to revert build to as-originally-cloned?

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

 



> am stuck trying to revert a private kernel build back to the state in which I originally cloned it,
> (after probably doing the wrong thing  -  as below).     Hoping someone can advise.

I just wanted to add that usually when I "mess up" and want to revert
to a previous state, I usually simply `git reflog`, find where I was
before messing up, then `git reset --hard` to the desired SHA1.

Hope it helps,
Philippe
--
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]