Skip to content

Instantly share code, notes, and snippets.

@SoldierCoder
Created October 23, 2011 10:15
Show Gist options
  • Save SoldierCoder/1307208 to your computer and use it in GitHub Desktop.
Save SoldierCoder/1307208 to your computer and use it in GitHub Desktop.
my git battles.
$ git remote add origin git@github.com:SoldierCoder/Lend-Me-Your-Voice.git
Ed Drain@YOUR-P3FQG2KMAW /c/Lend-Me-Your-Voice (master)
$ git push origin master
Enter passphrase for key '/c/Documents and Settings/Ed Drain/.ssh/id_rsa':
Enter passphrase for key '/c/Documents and Settings/Ed Drain/.ssh/id_rsa':
Enter passphrase for key '/c/Documents and Settings/Ed Drain/.ssh/id_rsa':
Counting objects: 129, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (112/112), done.
Writing objects: 100% (129/129), 104.69 KiB, done.
Total 129 (delta 8), reused 0 (delta 0)
To git@github.com:SoldierCoder/Lend-Me-Your-Voice.git
* [new branch] master -> master
Ed Drain@YOUR-P3FQG2KMAW /c/Lend-Me-Your-Voice (master)
$ ls
Gemfile Rails-README config doc log script vendor
Gemfile.lock Rakefile config.ru gem public test
README app db lib ruby tmp
Ed Drain@YOUR-P3FQG2KMAW /c/Lend-Me-Your-Voice (master)
$ touch doc/README_FOR_APP
Ed Drain@YOUR-P3FQG2KMAW /c/Lend-Me-Your-Voice (master)
$ git add doc/README_FOR_APP
warning: LF will be replaced by CRLF in doc/README_FOR_APP.
The file will have its original line endings in your working directory.
Ed Drain@YOUR-P3FQG2KMAW /c/Lend-Me-Your-Voice (master)
$ git commit -a
warning: LF will be replaced by CRLF in doc/README_FOR_APP.
The file will have its original line endings in your working directory.
new shell started
[No write since last change]
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
c:\Lend-Me-Your-Voice>git status
warning: LF will be replaced by CRLF in doc/README_FOR_APP.
The file will have its original line endings in your working directory.
# On branch master
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# modified: doc/README_FOR_APP
#
c:\Lend-Me-Your-Voice>git commit -m "New README_FOR_APP"
[master warning: LF will be replaced by CRLF in doc/README_FOR_APP.
The file will have its original line endings in your working directory.
9b490f9] New README_FOR_APP
warning: LF will be replaced by CRLF in doc/README_FOR_APP.
The file will have its original line endings in your working directory.
1 files changed, 38 insertions(+), 0 deletions(-)
c:\Lend-Me-Your-Voice>git tag "v0.01"
c:\Lend-Me-Your-Voice>git push --tags
Enter passphrase for key '/c/Documents and Settings/Ed Drain/.ssh/id_rsa':
Counting objects: 7, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (4/4), 1.38 KiB, done.
Total 4 (delta 1), reused 0 (delta 0)
To git@github.com:SoldierCoder/Lend-Me-Your-Voice.git
* [new tag] v0.01 -> v0.01
c:\Lend-Me-Your-Voice>git branch
* master
c:\Lend-Me-Your-Voice>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment