This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| no@yorceev ~ % git init foo | |
| Initialized empty Git repository in /home/no/foo/.git/ | |
| no@yorceev ~ % cd foo | |
| no@yorceev ~/foo % git init bar | |
| Initialized empty Git repository in /home/no/foo/bar/.git/ | |
| no@yorceev ~/foo % cd bar | |
| no@yorceev ~/foo/bar % touch qux | |
| no@yorceev ~/foo/bar % git add . | |
| no@yorceev ~/foo/bar % git commit -m 'lol' | |
| [master (root-commit) 5e3c59a] lol | |
| 0 files changed, 0 insertions(+), 0 deletions(-) | |
| create mode 100644 qux | |
| no@yorceev ~/foo/bar % cd .. | |
| no@yorceev ~/foo % git status | |
| # On branch master | |
| # | |
| # Initial commit | |
| # | |
| # Untracked files: | |
| # (use "git add <file>..." to include in what will be committed) | |
| # | |
| # bar/ | |
| nothing added to commit but untracked files present (use "git add" to track) | |
| no@yorceev ~/foo % git clean -f -d | |
| Removing bar/ | |
| no@yorceev ~/foo % git status | |
| # On branch master | |
| # | |
| # Initial commit | |
| # | |
| # Untracked files: | |
| # (use "git add <file>..." to include in what will be committed) | |
| # | |
| # bar/ | |
| nothing added to commit but untracked files present (use "git add" to track) | |
| no@yorceev ~/foo % ls | |
| bar | |
| no@yorceev ~/foo % |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment