Skip to content

Instantly share code, notes, and snippets.

@yoshikazusawa
Created February 2, 2014 10:31
Show Gist options
  • Save yoshikazusawa/8766079 to your computer and use it in GitHub Desktop.
Save yoshikazusawa/8766079 to your computer and use it in GitHub Desktop.
tigとGitHubを連携させる幾つかのカスタムキーバインド ref: http://qiita.com/yoshikazusawa/items/a8812e2dc736f7f967bb
# リポジトリのGitHubを表示
bind generic ^ !@hub browse
# issuesを表示
bind generic - !@hub browse -- issues
# 選択したcommitをGitHubで表示
bind generic ~ !@hub browse -- commit/%(commit)
# 選択したcommitのci-statusを確認
bind generic = !hub ci-status %(commit)
# 選択したbranchをcompareに送る
bind branch [ !@hub compare %(branch)
# 現在のbranchからpull-requestを作成
bind main { !hub pull-request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment