how to revert to earlier commit git
//Git Rollback to a specific commit via Mac terminal
//Navigate to project and open git log
cd projectname
git log --oneline
//Locate and checkout the desired commit ID
git checkout abc1234 .
//(Type q to quit the git log)
//Stage All changes, commit with comment, and push to remote
git add -A
git commit -m "Revert commit: abc1234"
git push
Also in Shell:
- check running process in linux
- check if kubernetes is running
- mkdir linux
- how to install react spring with typescript
- babel source maps
- restart service linux crontab
- gatsby transformer remark
- install mongodb mac stack overflow
- git proxy
- revert commit git
- install linuxbrew
- git clean cache
- install metasploit in kali linux
- set remote url git
- why i am not able to paste anything in htdocs folder in ubuntu
- install magento 2 command line composer
- xampp linux
- rename remote branch in git
- git create master branch in empty repository
- how to insert a delimiter into an array powershell
- bleachbit command line install
- pip upgrade package
- switch session windows tmux
- how to rename working directory in linux