Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to revert to a specific commit in origin

#SM

git checkout master
git reset --hard e3f1e37
git push --force origin master
# Then to prove it (it won't print any diff)
git diff master..origin/master
Comment

PREVIOUS NEXT
Code Example
Shell :: How to create a Python virtual environment using pipenv 
Shell :: how to pull the changes from git without staging local changes 
Shell :: reload crontab linux 
Shell :: install google drive on ubuntu 
Shell :: how to create a github tag 
Shell :: how to install node dependencies 
Shell :: run flask app from command line 
Shell :: allow ping using cmd 
Shell :: git merge a file from another branch to current branch 
Shell :: bash arguments parsing 
Shell :: file descriptor bash 
Shell :: install terminator ubuntu 
Shell :: how to merge git branch to master 
Shell :: how to setup display xServer wsl win10 
Shell :: How can I reset or revert a file to a specific revision? 
Shell :: node install mint 
Shell :: edit default port for linux server 
Shell :: git revert a specific commit 
Shell :: uninstall gem 
Shell :: git remove files from repo but not locally 
Shell :: heroku buildpacks 
Shell :: bash see size of directory 
Shell :: windows 10 install wsl2 
Shell :: linux kill a port 
Shell :: debian terminal paste 
Shell :: git user config 
Shell :: how to check if in which folder are you present in linux 
Shell :: check if two files are different linux 
Shell :: cmd kill pid 
Shell :: linux DNS_PROBE_FINISHED_NXDOMAIN 
ADD CONTENT
Topic
Content
Source link
Name
4+4 =