Horje
git redo commit Code Example
git undo commit
# Uncommit the changes
git reset --soft HEAD~1

# Completely delete the changes
git reset --hard HEAD~1
git cancel last commit
git reset --soft HEAD~1
undo local commit
$ git reset --soft HEAD~1
git revert a commit
git revert --no-commit 0766c053..HEAD
git commit
git redo commit
$ git commit -m "Something terribly misguided" # (0: Your Accident)
$ git reset HEAD~                              # (1)
[ edit files as necessary ]                    # (2)
$ git add .                                    # (3)
$ git commit -c ORIG_HEAD                      # (4)
git revert a commit
git reset 'HEAD@{1}'




Shell

Related
how to run spigot server using bat Code Example how to run spigot server using bat Code Example
apt package info Code Example apt package info Code Example
how to push forcefully in github Code Example how to push forcefully in github Code Example
install brave on arch Code Example install brave on arch Code Example
docker setup Code Example docker setup Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
12