dev
Merge latest dev branch code into your current branch and update your local dev branch. Assumes you have a branch called dev both locally and on the origin remote. This alias is useful for keeping your feature branches up-to-date with the latest development work.
This alias pulls the latest dev branch from origin, merges it into your current branch, and updates your local dev branch to match origin/dev.
Usage:
git dev
CLI Command
git config --global alias.dev "!git pull origin dev && git merge dev && git fetch origin dev:dev"
.gitconfig Snippet
[alias]
dev = !git pull origin dev && git merge dev && git fetch origin dev:dev