Skip to content

Instantly share code, notes, and snippets.

@rick4470
Created April 11, 2015 16:05
Show Gist options
  • Save rick4470/e1526c1e1543aca073c3 to your computer and use it in GitHub Desktop.
Save rick4470/e1526c1e1543aca073c3 to your computer and use it in GitHub Desktop.
Ignore changes to a file git
git reset HEAD index.php
git checkout -- index.php
git diff HEAD index.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment