Guest User

Untitled

a guest
Dec 5th, 2016
203
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ mkdir delme-git-test
  2. $ cd delme-git-test
  3. $ git init
  4. Initialized empty Git repository in /Users/gregg/temp/delme-git-test/.git/
  5. $ mkdir foo
  6. $ touch foo/bar.txt
  7. $ git add foo
  8. $ git commit -m "initial commit"
  9. [master (root-commit) 39efbc8] initial commit
  10. 1 file changed, 0 insertions(+), 0 deletions(-)
  11. create mode 100644 foo/bar.txt
  12. $ git rm -r foo
  13. rm 'foo/bar.txt'
  14. $ git checkout -- foo
  15. error: pathspec 'foo' did not match any file(s) known to git.
RAW Paste Data