Horje
how to undo a local commit Code Example
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
how to undo local commit git
If your commits are only LOCAL, 
you can git reset --hard origin/<branch_name> 
to move back to where the origin is.




Shell

Related
Error: Couldn't find the 'yo' binary. Make sure it's installed and in your $PATH Code Example Error: Couldn't find the 'yo' binary. Make sure it's installed and in your $PATH Code Example
centos 7 install ifconfig Code Example centos 7 install ifconfig Code Example
hide hidden files mac Code Example hide hidden files mac Code Example
powercli install Code Example powercli install Code Example
restart ssl ubuntu Code Example restart ssl ubuntu Code Example

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