Skip to content

Instantly share code, notes, and snippets.

@KenanBek
Created February 12, 2024 19:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KenanBek/ebf2cad12a6ec8c5e075b861a84b85df to your computer and use it in GitHub Desktop.
Save KenanBek/ebf2cad12a6ec8c5e075b861a84b85df to your computer and use it in GitHub Desktop.
Git: ignore local changes and pull from remote
git fetch --all
git reset --hard origin/master
git pull
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment