Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git pull master discard local changes

git reset --hard origin/master
git pull origin master
Comment

git remove my local changes and pull from master

git reset --hard <your commit hash key>
Comment

PREVIOUS NEXT
Code Example
Shell :: Updating Packages in WSL 
Shell :: ubuntu not showing video thumbnails 
Shell :: convert ppk to pem 
Shell :: batch multiline command 
Shell :: @material-ui/icons 
Shell :: install latest i18next version 
Shell :: check file size linux 
Shell :: conda install pandas 
Shell :: apt update package 
Shell :: scp linux file to windows from windows. 
Shell :: install synergy ubuntu 
Shell :: tr unix use 
Shell :: wsl ubuntu update time 
Shell :: how to remove a package from arch linux 
Shell :: golang live reload 
Shell :: clone a particular branch 
Shell :: how to see staged files in git 
Shell :: how to check what module pip has already install 
Shell :: uninstall ros2 foxy 
Shell :: clipboard manager linux unity 
Shell :: git create tag and push 
Shell :: kde up maxfps 
Shell :: sshd: no hostkeys available -- exiting. 
Shell :: powershell env vars 
Shell :: nuxt new project npm 
Shell :: how to learn cuda version 
Shell :: linux display services listening for connections and ports they are listening on 
Shell :: install anaconda 
Shell :: grep in windows 
Shell :: shell sort algorithm complexity 
ADD CONTENT
Topic
Content
Source link
Name
3+2 =