Add keybindings to github operations: push and pull and fetch

#1

Pull, Push, Fetch and Create new branch are commonly used features, It would be nice to have keybinding for them.

1 Like
#2

The Flight Manual has instructions on how to add custom keybindings.

1 Like
#3

Adding custom keybinging needs command of that feature first, I haven’t found github package provided commands of these operations.

#4
  • github:pull
  • github:push
  • github:fetch

The only one that is missing is a command to create a new branch.

#5

git-plus:new-branch

#6
'.github-Panel':
    'cmd-up': 'github:push'
    'cmd-down': 'github:pull'
    'cmd-right': 'github:fetch'
'.github-CommitView-editor atom-text-editor:not([mini])':
    'cmd-up': 'github:push'
    'cmd-down': 'github:pull'
    'cmd-right': 'github:fetch'

Paste keybindings above into keymap.cson
Hit ctrl-9 to focus on the commit message editor and then the keybindings above will work for you.

Thanks to @Wliu

1 Like
#7

What are the github commands for “accept theirs” or “accept ours” when fixing up merge conflicts?