Git
Force pull
git reset --hard origin/main
Force push
git push -f
Go back 3 commits
git reset --hard HEAD~3
Tig - Text-mode interface for git
sudo apt-get install tig
Add custom bindings to .tigrc
Force pull
git reset --hard origin/main
Force push
git push -f
Go back 3 commits
git reset --hard HEAD~3
sudo apt-get install tig
Add custom bindings to .tigrc