Horje
how to uncommit in git Code Example
how to uncommit my last commit in git

git reset --soft HEAD^

git reset HEAD^
//And if you actually want to completely undo it, throwing away all uncommitted changes, resetting everything to the previous commit (as the original question asked):

git reset --hard HEAD^
how to uncommit in git
git reset --soft HEAD^
how to uncommit last commit in git
git reset HEAD^
how to uncommit the last commit in git
git reset --soft "HEAD^"
git reset --soft "asdf"
uncommit local commit
$ git reset HEAD~2




Shell

Related
ubuntu server change timezone Code Example ubuntu server change timezone Code Example
install tar.xz on ubuntu Code Example install tar.xz on ubuntu Code Example
foreach bash Code Example foreach bash Code Example
bash script template Code Example bash script template Code Example
tmux attach Code Example tmux attach Code Example

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