revert to 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# This will detach your HEAD, that is, leave you with no branch checked out:
git checkout 0d1d7fc32
Also in Shell:
- How to find your ip on debian linux wsl
- Habilitar la ejecución de scripts para Powershell
- repo from bitbucket to github
- git discard local changes
- zip file
- create a symlink
- npm install jquery
- git file reset to head
- grepper shortcut key
- install macos on vmware ubuntu
- matplotlib install
- space in dock mac
- brew install ruby
- linux set environment variable
- set git origin
- how to install react spring with typescript
- convertingwav to mp3 linux ffmpeg
- git reset remote origin
- how to check git repository link
- silent install google chrome
- Shell query displays all citizens with an age greater than or equal to 21
- git list config
- how to install gatsby gatsby-plugin-manifest
- git cherry pick