- https://help.github.com/articles/creating-a-pull-request-from-a-fork/
- https://help.github.com/articles/merging-an-upstream-repository-into-your-fork/
- https://developer.github.com/guides/managing-deploy-keys/
- https://github.com/Fakerr/git-recall
- https://gist.github.com/mwhite/6887990
- http://haacked.com/archive/2014/07/28/github-flow-aliases/
- http://durdn.com/blog/2012/11/22/must-have-git-aliases-advanced-examples/
- https://ius.io/
git2upackage
# for the naughty and lazy people
git commit --amend -C HEAD
function again () {
if git rev-parse --abbrev-ref HEAD \
| egrep -q '^(master|HEAD)$' ; then
>&2 echo "Refusing to do the dirty!"
return 1
else
git commit --amend --no-edit --all \
&& git push --force-with-lease origin
fi
}st = status --short --branch
last = log -1 HEAD
unstage = reset HEAD --
please = push --force-with-lease origin[includeIf "gitdir:~/Coding/"]
path = ~/Coding/.gitconfig
[includeIf "gitdir:~/develop/"]
path = ~/develop/.gitconfig
[push]
default = current
[credential]
helper = cache
https://developer.atlassian.com/blog/2015/04/force-with-lease/force-with-lease.jpg