Git notes

May. 21st, 2015 03:50 pm
jbanana: Badly drawn banana (Default)
[personal profile] jbanana
"Oh dear, I messed up that commit. I know it can be undone. I'll google it (again)..."
http://stackoverflow.com/questions/927358/how-to-undo-the-last-commit
As I write, that article has been viewed 2044004 times. About 5 of those were me.

What I was looking for every time is:
git reset --soft HEAD~1

I can't find a list of the most viewed questions, but I bet this one is on it.
From:
Anonymous (will be screened)
OpenID (will be screened if not validated)
Identity URL: 
User
Account name:
Password:
If you don't have an account you can create one now.
Subject:
HTML doesn't work in the subject.

Message:

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org


 
Notice: This account is set to log the IP addresses of everyone who comments.
Links will be displayed as unclickable URLs to help prevent spam.

September 2017

M T W T F S S
    12 3
45 678910
1112 1314151617
18192021222324
252627282930 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 19th, 2017 08:43 pm
Powered by Dreamwidth Studios