Shell/Bash: git pull master discard local changes Example

By

Shell/Bash Example: This is the "git pull master discard local changes" Example. compiled from many sources on the internet by SimpleTutorials.org

git pull master discard local changes

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



* Summary: This "git pull master discard local changes" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others