git ready

learn git one commit at a time
by Nick Quaranto, O-Show(@oshow)

簡単にリモートブランチを管理しよう

committed 11 Mar 2009

リモートブランチのチェックアウトブランチの削除

その為に、"git_remote_branch":http://grb.rubyforge.org/, 役立つ"RubyGem":http://rubygems.org を試してみてください。リモートブランチを扱う上での雑用的なタスクを簡素化する為の、新しい実行ファイルをインストールします。これらがいくつかのコマンドの例です。

grb create branch_name [origin_server]

grb publish branch_name [origin_server]

grb rename branch_name [origin_server]

grb delete branch_name [origin_server]

grb track branch_name [origin_server]

この素晴らしいところは、どのGitコマンドが走っているかを表示してくれて、何が起こっているのかを簡単に把握できます。

また、@explain@ というコマンドも含まれていて、コマンドを直接表示します。
It also has an explain command built in that dumps out the commands directly.

"RubyGemsをインストール"すれば、単に gem install git_remote_branch とするだけで全て完了です!もっと良くするアイディア(もしくは、これに基づいてあなたが考えた役立つコマンド)がありましたら"GitHub":http://github.com/webmat/git_remote_branch/tree でコードをチェックしてみてください。

他にもGitユーザーに役立つショートカットがありましたら、"投稿してください!":http://gitready.com/submit.html