Horje
git revert changes in last commit Code Example
git revert changes in last commit
# by "undo changes" I mean undo commit
# undo changes in last commit, and keep them staged
git reset --soft HEAD~1

# undo changes in last commit, and keep them unstaged
git reset --hard HEAD~1




Shell

Related
f.lux for ubuntu 18.04 Code Example f.lux for ubuntu 18.04 Code Example
voice recorder in linux Code Example voice recorder in linux Code Example
linux check ipconfig Code Example linux check ipconfig Code Example
firebase only hosting command Code Example firebase only hosting command Code Example
No module named 'tensorflow docs' Code Example No module named 'tensorflow docs' Code Example

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