Skip to main content
The 2024 Developer Survey results are live! See the results
Rollback to Revision 82
Link
UpAndAdam
  • 5.3k
  • 5
  • 32
  • 47
Missing tag
Link
Mehdi Charife
  • 944
  • 3
  • 8
  • 25
Notice removed Reward existing answer by Jordy
Bounty Ended with Esko Luontola's answer chosen by Jordy
Notice added Reward existing answer by Jordy
Bounty Started worth 500 reputation by Jordy
Rollback to Revision 80
Source Link
CodeCaster
  • 150.5k
  • 23
  • 230
  • 282

I accidentally committed the wrong files to GitGit, but didn't push the commit to the server yet.

How do I undo those commits from the local repository?

How do I undo those commits from the local repository?

I accidentally committed the wrong files to Git, but didn't push the commit to the server yet.

How do I undo those commits from the local repository?

I accidentally committed the wrong files to Git, but didn't push the commit to the server yet.

How do I undo those commits from the local repository?

Adding bold and colour to git link example and separate question below
Source Link
Loading
added 4 characters in body
Source Link
Nitin
  • 2.8k
  • 2
  • 34
  • 68
Loading
Shorten for faster reading.
Source Link
Mateen Ulhaq
  • 26.6k
  • 20
  • 115
  • 147
Loading
deleted 1 character in body
Source Link
Andrzej Sydor
  • 1.4k
  • 6
  • 14
  • 29
Loading
added 196 characters in body
Source Link
Loading
Improved Formatting and Readability, Shorten into one line.
Source Link
Semnodime
  • 2k
  • 1
  • 16
  • 29
Loading
edited tags
Link
Martin Thoma
  • 133.1k
  • 170
  • 658
  • 1k
Loading
Rollback to Revision 72
Link
aurelius
  • 4k
  • 9
  • 41
  • 76
Loading
possible title improvement
Link
aurelius
  • 4k
  • 9
  • 41
  • 76
Loading
edited tags
Link
Sazzad Hissain Khan
  • 39.5k
  • 39
  • 205
  • 292
Loading
Remove extra whitespace and bolding from text.
Source Link
Edric
  • 26.2k
  • 13
  • 85
  • 94
Loading
Updated Wikipedia link
Source Link
Jenna Sloan
  • 382
  • 8
  • 22
Loading
edited tags
Link
Sazzad Hissain Khan
  • 39.5k
  • 39
  • 205
  • 292
Loading
edited tags
Link
Braiam
  • 4.5k
  • 11
  • 49
  • 80
Loading
The question and answers are focused on local changes to git, not pushed changes.
Link
null
  • 918
  • 1
  • 13
  • 24
Loading
Add tag and string
Source Link
Loading
Rollback to Revision 63
Source Link
Jon Schneider
  • 26.7k
  • 23
  • 150
  • 176
Loading
Add strong question
Source Link
Loading