Skip to content

Instantly share code, notes, and snippets.

@leonardaustin
Created August 16, 2016 13:15
Show Gist options
  • Save leonardaustin/99d20ce42ea79c1c013475a262eb4a78 to your computer and use it in GitHub Desktop.
Save leonardaustin/99d20ce42ea79c1c013475a262eb4a78 to your computer and use it in GitHub Desktop.
/tmp/core $ cd ..
/tmp $ mkdir fake-repo
/tmp $ cd fake-repo
/tmp/fake-repo $ git init
Initialized empty Git repository in /private/tmp/fake-repo/.git/
/tmp/fake-repo $ echo hello > world
/tmp/fake-repo $ git add -A .
/tmp/fake-repo $ git commit -m 'initial commit in fake-repo (add file world)'
[master (root-commit) e74125e] initial commit in fake-repo (add file world)
1 file changed, 1 insertion(+)
create mode 100644 world
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment