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 :: pm2 describe process 
Shell :: create new branch with commit id 
Shell :: Install psycopg2-binary on linux 
Shell :: install makerbundle sur symfony 3.4 
Shell :: flutter doctor android license error 
Shell :: The requested URL was not found on this server. Apache/2.4.41 (Ubuntu) Server at Port 80 
Shell :: Could not find tools.jar. Please check that /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home contains a valid JDK installation. 
Shell :: install paho mqtt client raspberry pi 
Shell :: git add submodule 
Shell :: installing Snowflake connector 
Shell :: docker remove none tag images 
Shell :: install the latest docker on ubuntu 20.04 
Shell :: find application path ubuntu 
Shell :: Unable to init server: Could not connect: Connection refused 
Shell :: aws configure profile 
Shell :: get y.output file yacc remove shift reduce conflict 
Shell :: kube delete cronjob 
Shell :: kill all screens linux 
Shell :: vite starting code 
Shell :: install aws cli mac 
Shell :: the current branch has no upstream branch error 
Shell :: fix windows and linux time 
Shell :: fish unset 
Shell :: centos search file by name 
Shell :: how to remove a remote origin in git and add new 
Shell :: create a vpn server linux 
Shell :: docker interact with running container 
Shell :: list 
Shell :: export commit history github 
Shell :: how to commit to github from terminal 
ADD CONTENT
Topic
Content
Source link
Name
1+7 =