Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

undo git pull

git reset --hard master@{"10 minutes ago"}
Comment

revert git pull

git reset --keep HEAD@{1}
Comment

how to reverse a git pull

git reset --hard master@{"10 minutes ago"}

-----------------------------------------

git reset --keep HEAD@{1}
Comment

PREVIOUS NEXT
Code Example
Shell :: search by commit message 
Shell :: how to show extensions on files win 11 
Shell :: github start ssh agent 
Shell :: list file in tar archive 
Shell :: restart wsl2 windows 10 
Shell :: uuntu free port from use 
Shell :: how to mount a hard drive in ubuntu 
Shell :: bash adb command not found... on linux 
Shell :: install neo4j latest version ubuntu 
Shell :: brew install mongodb 
Shell :: shell script to count number of lines in a file 
Shell :: find all files with 777 permissions 
Shell :: post curl request 
Shell :: install 7z commadn line windows 
Shell :: openssl universal requires cocoapods openssl-universal 
Shell :: git remove file from gitignore 
Shell :: add arabic keyboard ubuntu 20.04 
Shell :: intsall ifconfig mac os 
Shell :: git set origin 
Shell :: how to create a group in linux 
Shell :: whoami command 
Shell :: How to remove docker.io from Ubuntu? 
Shell :: show public ip 
Shell :: iptable port forward 
Shell :: install dotenv module windows 
Shell :: git update ignore local changes 
Shell :: heroku pg kill 
Shell :: rancher 2 on ubuntu 20.04 
Shell :: android keystore generator 
Shell :: linux login to github via git 
ADD CONTENT
Topic
Content
Source link
Name
5+5 =