Skip to content

Instantly share code, notes, and snippets.

@garrettwilkin
Created November 11, 2013 21:28
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 garrettwilkin/7420718 to your computer and use it in GitHub Desktop.
Save garrettwilkin/7420718 to your computer and use it in GitHub Desktop.
GAAAAHHHH!!!!
» ~/Code/Parsely/web (web+apidocs) [master]
$ git checkout -- p2/index.php
» ~/Code/Parsely/web (web+apidocs) [master]
$ git status
# On branch master
# Your branch is ahead of 'origin/master' by 1 commit.
# (use "git push" to publish your local commits)
#
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: p2/index.php
#
no changes added to commit (use "git add" and/or "git commit -a")
$ rm p2/index.php
» ~/Code/Parsely/web (web+apidocs) [master]
$ git status
# On branch master
# Your branch is ahead of 'origin/master' by 1 commit.
# (use "git push" to publish your local commits)
#
# Changes not staged for commit:
# (use "git add/rm <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# deleted: P2/index.php
# deleted: p2/index.php
#
no changes added to commit (use "git add" and/or "git commit -a")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment