Horje
revert local commit Code Example
revert local commit git bash
git reset --soft HEAD~1
undo local commit
$ git reset --soft HEAD~1
revert local commit
$ git reset --hard HEAD~1
how to undo a local commit
git reset HEAD~1




Shell

Related
free todo linux Code Example free todo linux Code Example
create new repo cli Code Example create new repo cli Code Example
edit git config file Code Example edit git config file Code Example
update git config username and email Code Example update git config username and email Code Example
how to create a new respository from terminal Code Example how to create a new respository from terminal Code Example

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