git reset
Shell
git reset --hard f414f31
git reset --soft HEAD@{1}
git commit -m "Reverting to the state of the project at f414f31"
git reset --soft HEAD~3git reset --soft# local
git reset <commit-hash>
# or
git reset --hard <commit-hash>
# remote
git push -f origin master
Also in Shell:
- Title
- check ubuntu version cmd
- Category
- Shell
- Title
- cmd rename multiple files
- Category
- Shell
- Title
- how to rsync linux
- Category
- Shell
- Title
- youtube api python
- Category
- Shell
- Title
- htaccess route to index.php
- Category
- Shell
- Title
- list directories recursively powershell
- Category
- Shell
- Title
- git push to branch
- Category
- Shell
- Title
- webpack install
- Category
- Shell
- Title
- set up git with github
- Category
- Shell
- Title
- oh my zsh
- Category
- Shell
- Title
- install react react testing library
- Category
- Shell
- Title
- undo git
- Category
- Shell
- Title
- command line ip
- Category
- Shell
- Title
- oh my zsh git
- Category
- Shell
- Title
- kill process on port
- Category
- Shell
- Title
- ubuntu install sfml
- Category
- Shell
- Title
- /usr/local/share/doc/node is not writable.
- Category
- Shell
- Title
- npm ERR! path /usr/local/lib/nodejs/node-v10.15.3-linux-x64/lib/node_modules while installing angular cli
- Category
- Shell
- Title
- linux tar zip folder
- Category
- Shell
- Title
- clone a given branch github
- Category
- Shell
- Title
- how to kill a process in linux
- Category
- Shell
- Title
- change git commit message
- Category
- Shell
- Title
- disable monitor on boot linux
- Category
- Shell
- Title
- netstat column headers
- Category
- Shell
- Title
- create github repo without browser
- Category
- Shell
- Title
- how to delete all branches in git except master
- Category
- Shell
- Title
- navigate to a directory linux
- Category
- Shell
- Title
- how to put files into gitignore
- Category
- Shell
- Title
- apt remove ppa
- Category
- Shell
- Title
- apache .htaccess Option ubuntu
- Category
- Shell
- Title
- kill all python processes ubuntu
- Category
- Shell
- Title
- how to use gitignore to ignore a folder
- Category
- Shell
- Title
- ubuntu storage check stackoverflow
- Category
- Shell
- Title
- unzip a tar.gz file in linux
- Category
- Shell
- Title
- grep and
- Category
- Shell
- Title
- install x centos 7
- Category
- Shell
- Title
- how to check upstream git
- Category
- Shell
- Title
- how to save any changes in vi editor
- Category
- Shell
- Title
- ubuntu ram type
- Category
- Shell
- Title
- how to upgrade package yarn global
- Category
- Shell
- Title
- powershell append to file
- Category
- Shell
- Title
- powershell sharepoint copy file to other site collection
- Category
- Shell
- Title
- bily-101 github
- Category
- Shell
- Title
- Why doesn't Git ignore my specified file?
- Category
- Shell
- Title
- install docker compose
- Category
- Shell
- Title
- mostrare i grafici matplotlib sulla shell python
- Category
- Shell
- Title
- ubuntu activate venv
- Category
- Shell
- Title
- read file using shell script
- Category
- Shell
- Title
- centos copy files ssh
- Category
- Shell
- Title
- install tomcat on mac brew
- Category
- Shell
- Title
- how to make a tarball in linux
- Category
- Shell
- Title
- how to find the path of a command in linux
- Category
- Shell
- Title
- linux create file
- Category
- Shell
- Title
- update fork repository
- Category
- Shell
- Title
- react-easy-crop install
- Category
- Shell
- Title
- git see tags
- Category
- Shell
- Title
- how to revoke permissions from group and others
- Category
- Shell
- Title
- .gitignore not working
- Category
- Shell
- Title
- fingerprint login disabled ubuntu 20.04
- Category
- Shell
- Title
- java to jar
- Category
- Shell
- Title
- install dateutil
- Category
- Shell
- Title
- how to check if django is installed in ubuntu
- Category
- Shell
- Title
- A template was not provided. This is likely because you're using an outdated version of create-react-app. Please note that global installs of create-react-app are no longer supported.
- Category
- Shell
- Title
- linux port forward ssh
- Category
- Shell
- Title
- mysql backup dump docker file
- Category
- Shell
- Title
- python spawn shell
- Category
- Shell
- Title
- git rebase one commit
- Category
- Shell
- Title
- how to commit changes in git command
- Category
- Shell
- Title
- create symbolic link linux
- Category
- Shell
- Title
- hasura squashmigrations
- Category
- Shell
- Title
- how to upgrade maven in linux
- Category
- Shell
- Title
- how to install path adb
- Category
- Shell
- Title
- bash run last command as sudo
- Category
- Shell
- Title
- rpi-update specific kernel version
- Category
- Shell
- Title
- xcode clean derived data command line
- Category
- Shell
- Title
- install node js ubuntu
- Category
- Shell
- Title
- flutter create command
- Category
- Shell
- Title
- how use vim in linux
- Category
- Shell
- Title
- angular new project
- Category
- Shell
- Title
- get current branch name git
- Category
- Shell
- Title
- bash count lines
- Category
- Shell
- Title
- macos homebrew unattended cask installs
- Category
- Shell
- Title
- git eof config
- Category
- Shell
- Title
- how to zip a file in linux
- Category
- Shell
- Title
- linux compress a pdf
- Category
- Shell
- Title
- shell set environment variable
- Category
- Shell
- Title
- installing helm and tiller on minikube
- Category
- Shell
- Title
- iterm full screen cmd
- Category
- Shell
- Title
- Install xlrd >= 1.0.0 for Excel support Use pip or conda to install xlrd
- Category
- Shell
- Title
- netstat command in linux
- Category
- Shell
- Title
- how to create gitignore
- Category
- Shell
- Title
- sudoers nopasswd
- Category
- Shell
- Title
- linux find from file content
- Category
- Shell
- Title
- luminati proxy manager
- Category
- Shell
- Title
- disable swap ubuntu 18.04
- Category
- Shell
- Title
- check the linux distribution
- Category
- Shell
- Title
- pytype
- Category
- Shell
- Title
- git clean cache
- Category
- Shell
- Title
- How to Install a LAMP stack on a Linode Server
- Category
- Shell
- Title
- add passphrase to ssh agent?
- Category
- Shell