Force a GitHub Override on Local Files

If you’re trying to override your local files with the GitHub repository files then please follow the simple instruction below.

Please run the following command;

git fetch --all

To default to the most recent branch, please run the following command;

git reset --hard origin/master

If you are on a different branch, please run the following command;

git reset --hard origin/
Previous Post
Default Remi’s PHP Repository Configuration
Next Post
Google Technical Support – Account Issues

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.

Menu