Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git sync local branch with remote

git fetch --prune origin
git reset --hard origin/master
git clean -f -d
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #sync #local #branch #remote
ADD COMMENT
Topic
Name
7+1 =