git get & git put

Synchronize changes for the current branch

Git alias:

get = !git fetch --prune && git pull --rebase && git submodule update --init --recursive
put = !git commit --all && git push

Example:

git get
git put

Our workflow does these steps:

If you want to preserve merges, then we recommend you set this:

git config pull.rebase preserve

TODO:

Compare: