Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ mkdir delme-git-test
- $ cd delme-git-test
- $ git init
- Initialized empty Git repository in /Users/gregg/temp/delme-git-test/.git/
- $ mkdir foo
- $ touch foo/bar.txt
- $ git add foo
- $ git commit -m "initial commit"
- [master (root-commit) 39efbc8] initial commit
- 1 file changed, 0 insertions(+), 0 deletions(-)
- create mode 100644 foo/bar.txt
- $ git rm -r foo
- rm 'foo/bar.txt'
- $ git checkout -- foo/*
- zsh: no matches found: foo/*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement