Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
$ git config --global alias.sync '! git fetch upstream && git push --atomic origin $(git for-each-ref --format '"%(refname):%(refname:strip=3)'" refs/remotes/upstream)'

Usage

Code Block
languagebash
$ git sync

...