undo git
Shell
# KEEP CHANGES
git reset --soft HEAD~1
# REMOVE CHANGES
git reset --hard HEAD~1
Also in Shell:
- Title
- updating git on mac
- Category
- Shell
- Title
- zip command in linux
- Category
- Shell
- Title
- how to get ssh access to a computer
- Category
- Shell
- Title
- pod install react native failed
- Category
- Shell
- Title
- unarchive tar acrhive
- Category
- Shell
- Title
- ubuntu install sfml
- Category
- Shell
- Title
- show rights inside folder debian
- Category
- Shell
- Title
- git config --global credential.helper osxkeychain
- Category
- Shell
- Title
- how to turn off bluetooth in ubuntu 18.04 terminal
- Category
- Shell
- Title
- linux install ifconfig
- Category
- Shell
- Title
- how to install lightgbm on mac
- Category
- Shell
- Title
- how to upgrade package yarn global
- Category
- Shell
- Title
- how to remove untracked files in git
- Category
- Shell
- Title
- zip entire directory ubuntu
- Category
- Shell
- Title
- how to install cab file in ubuntu
- Category
- Shell
- Title
- ubuntu show disk space
- Category
- Shell
- Title
- git flow init
- Category
- Shell
- Title
- stop elasticsearch node
- Category
- Shell
- Title
- sudo apt get install tomcat 9
- Category
- Shell
- Title
- convert all files and folders in current directory into zip in linux
- Category
- Shell
- Title
- git config core.autocrlf true
- Category
- Shell
- Title
- shell count number of lines
- Category
- Shell
- Title
- git reset soft
- Category
- Shell
- Title
- Could not execute 'apt-key' to verify signature (is gnupg installed?)
- Category
- Shell
- Title
- what is the ssh credentials for minikube
- Category
- Shell
- Title
- install react bootstrap
- Category
- Shell
- Title
- golang compile with injected variable
- Category
- Shell
- Title
- copie fichier de server vers linux
- Category
- Shell
- Title
- install idle on ubuntu
- Category
- Shell
- Title
- remove frmo staging git
- Category
- Shell
- Title
- CommandNotFoundError: Your shell has not been properly
- Category
- Shell
- Title
- htaccess route to index.php
- Category
- Shell
- Title
- Another git process seems to be running in this repository
- Category
- Shell
- Title
- screen sharung zoom linux x11
- Category
- Shell
- Title
- kubernetes service external ip pending
- Category
- Shell
- Title
- docker getting-started
- Category
- Shell
- Title
- how to uninstall node.JS
- Category
- Shell
- Title
- install flathub in linux elementary
- Category
- Shell
- Title
- delete github repository without browser
- Category
- Shell
- Title
- git search all branches
- Category
- Shell
- Title
- sh increment variable
- Category
- Shell
- Title
- git push
- Category
- Shell
- Title
- crop video from specific time to specific time ffmpeg
- Category
- Shell
- Title
- date command in linux
- Category
- Shell
- Title
- how to change permissions on a file in linux
- Category
- Shell
- Title
- change git commit message
- Category
- Shell
- Title
- how to add images to git readme
- Category
- Shell
- Title
- pyaudio python 3.7
- Category
- Shell
- Title
- edit default port for linux server
- Category
- Shell
- Title
- rec: command not found
- Category
- Shell
- Title
- réinstaller interface graphique debian
- Category
- Shell
- Title
- how to change dotnet version
- Category
- Shell
- Title
- git clean remote branches
- Category
- Shell
- Title
- view memory usage linux
- Category
- Shell
- Title
- pipe + exec duplicate stdout linux
- Category
- Shell
- Title
- SocketException: Error connecting to 127.0.0.1:27017 :: caused by :: Connection refused : connect@src/mongo/shell/mongo.js:341:17 @(connect):2:6
- Category
- Shell
- Title
- powershell get arguments
- Category
- Shell
- Title
- how to install emotion in gatsby
- Category
- Shell
- Title
- cmd prompt format
- Category
- Shell
- Title
- edit branch name git
- Category
- Shell
- Title
- how to know partition of current directory
- Category
- Shell
- Title
- grep not
- Category
- Shell
- Title
- youtube api python
- Category
- Shell
- Title
- docker exc into mongo shell
- Category
- Shell
- Title
- Running modprobe bridge br_netfilter failed with message: ip: can't find device
- Category
- Shell
- Title
- docker node alpine
- Category
- Shell
- Title
- git remove remote
- Category
- Shell
- Title
- linux replace string in files recursively
- Category
- Shell
- Title
- bash case statement
- Category
- Shell
- Title
- install pipenv in ubuntu
- Category
- Shell
- Title
- mysql backup dump docker file
- Category
- Shell
- Title
- install ext-soap
- Category
- Shell
- Title
- xcuserstate file git
- Category
- Shell
- Title
- add credentials to git
- Category
- Shell
- Title
- bash find file
- Category
- Shell
- Title
- how to create a branch in git
- Category
- Shell
- Title
- store result of command in variable bash
- Category
- Shell
- Title
- find exclude hidden files
- Category
- Shell
- Title
- grep command
- Category
- Shell
- Title
- laravel generate mailable
- Category
- Shell
- Title
- Failed at the [email protected] postinstall script.
- Category
- Shell
- Title
- shell set environment variable
- Category
- Shell
- Title
- cordova ios emulators
- Category
- Shell
- Title
- kill a port
- Category
- Shell
- Title
- Load key ".pem": bad permissions
- Category
- Shell
- Title
- ansible-galaxy install to specific directory
- Category
- Shell
- Title
- composer install ignore platform reqs
- Category
- Shell
- Title
- clone a given branch github
- Category
- Shell
- Title
- remove remote git
- Category
- Shell
- Title
- bash get first argument
- Category
- Shell
- Title
- register runner gitlab
- Category
- Shell
- Title
- lvm resize ext4
- Category
- Shell
- Title
- ubuntu list running applications
- Category
- Shell
- Title
- npx create-react-app not working
- Category
- Shell
- Title
- pause powershell script until keypress
- Category
- Shell
- Title
- silent install google chrome
- Category
- Shell
- Title
- install docker debain
- Category
- Shell
- Title
- How to check git config username?
- Category
- Shell
- Title
- bash find file with text
- Category
- Shell
- Title
- force git to use ssh
- Category
- Shell