Advertisement
Guest User

Untitled

a guest
Dec 5th, 2016
437
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.43 KB | None | 0 0
  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. zsh: no matches found: foo/*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement