Skip to content

Instantly share code, notes, and snippets.

@AlexDemian
Last active November 30, 2018 11:40
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 AlexDemian/ad0fb08fe8562b74730a13739062dbf8 to your computer and use it in GitHub Desktop.
Save AlexDemian/ad0fb08fe8562b74730a13739062dbf8 to your computer and use it in GitHub Desktop.
Git comms
# Forced pull from origin (with local overwrites)
git fetch --all
git reset --hard origin/master
# .gitingore file for ignoring directory content
*
!.gitignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment