gg

Git with less typing

gg pull

gg pull [-u] [-r REV [...]] [SOURCE]

pull changes from the specified source

If no source repository is given, the remote called origin is used. If the source repository is not a named remote, then the branches will be saved under refs/ggpull/.

Local branches with the same name as a remote branch will be fast-forwarded if possible. The currently checked out branch will not be fast-forwarded unless -u is passed. If a branch is removed from all known remotes and the local branch points to the last-known commit for that branch, then it will be moved under refs/gg-old/.

If no revisions are specified, then all the remote’s branches and tags will be fetched. If the source is a named remote, then its remote tracking branches will be pruned.

Options

-r ref
refs to pull
-p regexp
-pattern regexp
regexp of branch or tag names to pull (can be specified multiple times)
-force-tags
update any tags pulled
-u
update to new head if new descendants were pulled