Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git revert to commit hash

git reset --hard 56e05fced # commit hash

git reset --soft "HEAD@{1}"
Comment

PREVIOUS NEXT
Code Example
Shell :: how to install java 8 and set java_home in ubuntu 
Shell :: set defualt branch to main git 
Shell :: An unhandled exception occurred: Collection "@nativescript/schematics" cannot be resolved 
Shell :: fish disable welcome message 
Shell :: install visual studio code ubuntu 
Shell :: read file using shell script 
Shell :: linux full permission to folder 
Shell :: git remove remote 
Shell :: how to push local code to git repository 
Shell :: git update local repo from master 
Shell :: start jupyter notebook from terminal 
Shell :: how to create tar in unix 
Shell :: subl command not found 
Shell :: install drush 
Shell :: how to get git username and password 
Shell :: albert for ubuntu 
Shell :: install git win terminal 
Shell :: du -sh ocult files 
Shell :: how to download a repository as zip 
Shell :: completely uninstall apache2 
Shell :: npm install cli vue 
Shell :: ubuntu check cuda version 
Shell :: git reset to latest commit 
Shell :: get saved wifi password windows 10 
Shell :: how to remove file changes in git 
Shell :: .gitignore not working visual studio 
Shell :: linux speedtest 
Shell :: add all files in directory to git 
Shell :: install kubectx 
Shell :: apt install postgres client 
ADD CONTENT
Topic
Content
Source link
Name
1+1 =