Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

reset branch on local git

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

git reset branch

git fetch origin
git reset --hard origin/branch_name
Comment

PREVIOUS NEXT
Code Example
Shell :: npm install from github branch 
Shell :: docker created network 
Shell :: undo local commit 
Shell :: clean remove npm with cache 
Shell :: checkout to last commit git 
Shell :: install tailwindcss nodejs 
Shell :: what is the difference between powershell and command prompt 
Shell :: Error: ENOSPC: System limit for number of file watchers reached, watch 
Shell :: mac check command line tools version 
Shell :: getting started with sanity 
Shell :: how to extract a zip file in linux terminal 
Shell :: exit vim 
Shell :: error: Not a valid ref: refs/remotes/origin/master 
Shell :: How to install specific Laravel version using composer 
Shell :: ubuntu taskbar not showing incons for current applications 
Shell :: edit grub file 
Shell :: ubuntu change directory owner 
Shell :: install docker on windows using powershell 
Shell :: gzip version check 
Shell :: git flow init 
Shell :: reinit git-submodules 
Shell :: how to switch php versions 
Shell :: gitlab ee version check 
Shell :: kubectl exec ls -lah 
Shell :: ubuntu terminal network monitor 
Shell :: curl ssl verify false cli 
Shell :: how to install pygame 
Shell :: powershell function 
Shell :: pass awk varible to bash 
Shell :: rails no migration with version number 
ADD CONTENT
Topic
Content
Source link
Name
3+2 =