- Summary of Day 5 Work Flow (pg.74-86):
- $ git log -2 (p.74)
commit 01e92fc455898f45fb4eff9114f10922e2fca377
Author: Al Snow
Date: Tue Feb 24 19:54:44 2009 -0500
modified display.rb
commit 8306c2e07c44062315e907da4984147065012a5d
Merge: 89c38f3... 18e0332...
Author: Al Snow
Date: Tue Feb 24 19:45:19 2009 -0500
Merge branch 'master' of git@github.com:jasnow/gittest - $ git tag display_commit 8306c2e07c44062315e907da4984147065012a5d (p.74) (no response)
- $ git tag (p.75)
display_commit - $ git push origin display_commit (p.75)
Total 0 (delta 0), reused 0 (delta 0)
To git@github.com:jasnow/gittest.git
* [new tag] display_commit -> display_commit - $ git push origin --tags (p.75)
Everything up-to-date - $ git push origin :display_commit (Deleting tag. - p.76)
To git@github.com:jasnow/gittest.git
- [deleted] display_commit - Created a new repository, my_string_extend. (p.79-80)
- Clicked on "RubyGem" on GitHub for step 8's REPO.
- $ mkdir my_string_extend (p.80)
$ cd my_string_extend
$ mkdir lib - $ mkdir test (p.81)
$ mkdir doc - Created gemspec based on one on page 82-83.
- $ git init (p.84)
Initialized empty Git repository in c:/Users/jasnow/gitlocalrepo/my_string_exten
d/.git/ - $ touch my* (p.84)
- $ git add . (p.84)
warning: LF will be replaced by CRLF in lib/my_string_extend.rb
warning: LF will be replaced by CRLF in my_string_extend.gemspec - $ git commit -m 'commit of gem 0.0.4 version' (p.84)
[master (root-commit)]: created cebbc71: "commit of gem 0.0.4 version"
warning: LF will be replaced by CRLF in lib/my_string_extend.rb
warning: LF will be replaced by CRLF in my_string_extend.gemspec
2 files changed, 18 insertions(+), 0 deletions(-)
create mode 100644 lib/my_string_extend.rb
create mode 100644 my_string_extend.gemspec - $ git remote add origin git@github.com:jasnow/my_string_extend.git (p.84)
- $ git push origin master (p.84)
Counting objects: 5, done.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (5/5), 643 bytes, done.
Total 5 (delta 0), reused 0 (delta 0)
To git@github.com:jasnow/my_string_extend.git
* [new branch] master -> master - Wait "up to 15 minutes" - Check inbox for status (failed or success). (p.85)
- Found the "small red diamond" but not email in inbox. (p.85)
- $ gem sources -a http://gems.github.com (Added - p.86)
http://gems.github.com added to sources
$ gem sources --list
*** CURRENT SOURCES ***
http://gems.rubyforge.org/
http://gems.github.com Clicked on Red Diamond and found this: Run the following if you haven't already:
gem sources -a http://gems.github.com
Install the gem(s):
sudo gem install jasnow-my_string_extend
- Later repeated some of the steps and got this email:
github sent you a message.
--------------------
Subject: [my_string_extend] Gem Build Successful
Your gem has been built, it will be added to gems.github.com soon. - FINALLY: $ gem install jasnow-my_string_extend (p.86)
Successfully installed jasnow-my_string_extend-0.0.3
1 gem installed - $ ruby program86.rb
16
Thursday, February 26, 2009
Chapter 24: Git and GitHub Course: Day 5 (day late)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment