githubからgit cloneしてみる

上記graphicsmagickのActive Support依存性が気に入らないので、消し去ってpull request掛けてやろうかと思っております。
pull requestはやったことが無いので、どきどきします。

作業開始

~/prog/github というフォルダで作業しているとします。
いきなりgit cloneします。

$ git clone git@github.com:dignoe/graphicsmagick.git
Cloning into 'graphicsmagick'...
Warning: Permanently added the RSA host key for IP address '192.30.252.131' to the list of known hosts.
remote: Reusing existing pack: 269, done.
remote: Total 269 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (269/269), 28.54 KiB | 0 bytes/s, done.
Resolving deltas: 100% (131/131), done.
Checking connectivity... done
$ ls -l
total 0
drwxr-xr-x  1 riocampos  staff  330  3  8 16:49 graphicsmagick

ではgraphicsmagickフォルダへ移動。

$ ls -alF
total 56
drwxr-xr-x  1 riocampos  staff   330  3  8 16:49 ./
drwxr-xr-x  1 riocampos  staff   264  3  8 16:49 ../
drwxr-xr-x  1 riocampos  staff   398  3  8 16:49 .git/
-rw-r--r--  1 riocampos  staff   154  3  8 16:49 .gitignore
-rw-r--r--  1 riocampos  staff   153  3  8 16:49 CHANGELOG.md
-rw-r--r--  1 riocampos  staff    99  3  8 16:49 Gemfile
-rw-r--r--  1 riocampos  staff  1070  3  8 16:49 LICENSE.txt
-rw-r--r--  1 riocampos  staff  2601  3  8 16:49 README.md
-rw-r--r--  1 riocampos  staff    28  3  8 16:49 Rakefile
-rw-r--r--  1 riocampos  staff   859  3  8 16:49 graphicsmagick.gemspec
drwxr-xr-x  1 riocampos  staff   264  3  8 16:49 lib/

ちゃんとclone出来てます。
logもちゃんと出来てますね。

$ git log

commit 874712575b42ef6cf2f97c6b0f939b1c927a01a6
Author: Chad McGimpsey <chad.mcgimpsey@gmail.com>
Date:   Thu Nov 21 15:57:54 2013 -0700

    reverting -create-directories addition

commit df7318155541a234aa0ff601e9cbe03bd393e4f9
Author: Chad McGimpsey <chad.mcgimpsey@gmail.com>
Date:   Thu Nov 21 11:10:44 2013 -0700

    bump version

commit 05cbeaa490bd9fa5a48de302692a5062823c9505
Author: Chad McGimpsey <chad.mcgimpsey@gmail.com>
Date:   Thu Nov 21 11:10:10 2013 -0700

    added -create-directories option for converting files to ensure that files are created properly

(後略)

working branch切りましょう。

$ git checkout -b no_activesupport
Switched to a new branch 'no_activesupport'
$ git status
# On branch no_activesupport
nothing to commit, working directory clean