Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
[lth@lappro ~] $ mkdir test
[lth@lappro ~] $ cd test/
[lth@lappro test] $ git init
Initialized empty Git repository in /Users/lth/test/.git/
[lth@lappro test] $ mkdir foo
[lth@lappro test] $ mkdir foo/bar
[lth@lappro test] $ touch foo/bar/baz
[lth@lappro test] $ touch foo/bar/bing
[lth@lappro test] $ touch foo/bar/boom
[lth@lappro test] $ git add foo/
[lth@lappro test] $ git commit -m "all of it"
[master (root-commit) c75e6db] all of it
0 files changed, 0 insertions(+), 0 deletions(-)
create mode 100644 foo/bar/baz
create mode 100644 foo/bar/bing
create mode 100644 foo/bar/boom
[lth@lappro test] $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.