Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

What commands would you use to force an overwrite of your local files with the master branch?

git fetch --all 
git reset --hard <remote>/<branch_name>
 
PREVIOUS NEXT
Tagged: #What #commands #force #overwrite #local #files #master
ADD COMMENT
Topic
Name
3+2 =