Skip to content

Instantly share code, notes, and snippets.

@Marak
Created April 15, 2010 00:38
Show Gist options
  • Save Marak/366549 to your computer and use it in GitHub Desktop.
Save Marak/366549 to your computer and use it in GitHub Desktop.
[Marak@Maraks-MacBook-Pro .../hook.io/hookio/lib/proto]$ git status
# Not currently on any branch.
# Changed but not updated:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: lib/proto.js
#
no changes added to commit (use "git add" and/or "git commit -a")
[Marak@Maraks-MacBook-Pro .../hook.io/hookio/lib/proto]$ git commit -a -m "made a change to test the hook.io git submodule workflow"
[detached HEAD 4527a48] made a change to test the hook.io git submodule workflow
1 files changed, 3 insertions(+), 0 deletions(-)
[Marak@Maraks-MacBook-Pro .../hook.io/hookio/lib/proto]$ git push
fatal: remote error:
You can't push to git://github.com/Marak/proto.git
Use [email protected]:Marak/proto.git
[Marak@Maraks-MacBook-Pro .../hook.io/hookio/lib/proto]$ git push [email protected]:Marak/proto.git
Everything up-to-date
[Marak@Maraks-MacBook-Pro .../hook.io/hookio/lib/proto]$ git status
# Not currently on any branch.
nothing to commit (working directory clean)
[Marak@Maraks-MacBook-Pro .../hook.io/hookio/lib/proto]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment