Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Git undo: We can do better. Parent comment
I would guess there's an easy way to make git do this automatically for you via config so you never forget, but I just never, ever `git pull`
Or:
> git config --global alias.up '!git fetch && git rebase --autostash FETCH_HEAD'
From:
https://github.com/JKrag/git-up
You probably also want:
git config --global rebase.autostash true
I would guess there's an easy way to make git do this automatically for you via config so you never forget, but I just never, ever `git pull`
Or:
> git config --global alias.up '!git fetch && git rebase --autostash FETCH_HEAD'
From:
https://github.com/JKrag/git-up