Last active
December 17, 2015 03:39
-
-
Save johnnaegle/5545229 to your computer and use it in GitHub Desktop.
Initialize a new git repo in the local file system
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
~/projects> mkdir scratch | |
~/projects> cd scratch/ | |
~/projects/scratch> git init . | |
Initialized empty Git repository in /Users/johnnaegle/projects/scratch/.git/ | |
~/projects/scratch> touch README.md | |
~/projects/scratch> git commit -m "Create Empty Repository" | |
[master (root-commit) bda9f27] Create Empty Repository | |
0 files changed | |
create mode 100644 README.md |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment