cdp

branching workflow

Checkout the dev branch and pull the latest changes from the remote. This is a quick way to switch to your main development branch and ensure you have the latest code before starting new work or reviewing changes.

Usage: git cdp

CLI Command

git config --global alias.cdp "!git checkout dev && git pull"

.gitconfig Snippet

[alias]
  cdp = !git checkout dev && git pull