Skip to content

Instantly share code, notes, and snippets.

@Drag13
Created September 7, 2023 08:14
Show Gist options
  • Save Drag13/2ba43dc35bbf99c2009641bdce281b3d to your computer and use it in GitHub Desktop.
Save Drag13/2ba43dc35bbf99c2009641bdce281b3d to your computer and use it in GitHub Desktop.
GIT Aliases

Git aliases

Sync

  • Add
git config --global alias.sync "!git checkout dev && git pull  && git checkout - &&  git merge -"
  • Use
git sync
  • Note

Tested for Windows only

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment