Skip to content

Instantly share code, notes, and snippets.

@jmoon90
Created November 15, 2013 01:15
Show Gist options
  • Select an option

  • Save jmoon90/7477554 to your computer and use it in GitHub Desktop.

Select an option

Save jmoon90/7477554 to your computer and use it in GitHub Desktop.
git log for my basic scaffold app
➜ views git:(master) ✗ vim
➜ views git:(master) ✗ vim .gitignore
➜ views git:(master) ✗ git status
# On branch master
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# .gitignore
nothing added to commit but untracked files present (use "git add" to track)
➜ views git:(master) ✗ git status
# On branch master
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# .gitignore
nothing added to commit but untracked files present (use "git add" to track)
➜ views git:(master) ✗ git push
fatal: No configured push destination.
Either specify the URL from the command-line or configure a remote repository using
git remote add <name> <url>
and then push using the remote name
git push <name>
➜ views git:(master) ✗ cd ../..
➜ check_in git:(master) ✗ git remote add sungmoon git@github.com:jmoon90/check_in.git
➜ check_in git:(master) ✗ git push master
warning: push.default is unset; its implicit value is changing in
Git 2.0 from 'matching' to 'simple'. To squelch this message
and maintain the current behavior after the default changes, use:
git config --global push.default matching
To squelch this message and adopt the new behavior now, use:
git config --global push.default simple
See 'git help config' and search for 'push.default' for further information.
(the 'simple' mode was introduced in Git 1.7.11. Use the similar mode
'current' instead of 'simple' if you sometimes use older versions of Git)
commit c48e83fbfbbef7cfbdf727fe6fb66cb62468fce7
Author: John Moon <johnmoonyy@gmail.com>
Date: Thu Nov 14 20:06:00 2013 -0500
Made minor change to title to test git
commit 346a76c1a45e7350ee2266df93e6a4e516333ace
Author: John Moon <johnmoonyy@gmail.com>
Date: Thu Nov 14 20:01:12 2013 -0500
Used scaffold to create a mvp of a check_in app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment