News for hackers. Stuff that matters.
Re:GitHub Flow Like a Pro with These 13 Git Aliases by flurdy on Monday March 23, 2015 @07:23AM (#9250320)
I frequently get into a messy rebase then I hit the zipline eject button:

eject=!git reset --hard && git checkout master && git rebase --abort

Although I prefer multiple commands to be a bash or as below a fish alias:

  function giteject
    git reset --hard
    and git checkout master
    and git rebase --abort
  end
Re:GitHub Flow Like a Pro with These 13 Git Aliases by TheHippo on Monday March 23, 2015 @09:52PM (#9254449)
if you name the bash script "git-eject" it would still work the git command and your should get autocompletion for your command, too.
Re:GitHub Flow Like a Pro with These 13 Git Aliases by flurdy on Wednesday March 25, 2015 @10:57AM (#9263340)
True, dotfiles aliases fixed! :)