Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git overwrite remote files

git push -f <remote> <branch>
e.g.
git push -f origin main 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #overwrite #remote #files
ADD COMMENT
Topic
Name
8+7 =