SYNOPSIS

git nav-upstream

DESCRIPTION

git-nav-upstream takes the current branch, finds it's upstream branch, and checks that out.

EXAMPLE

$ git map-branches
origin/master
  cool_feature
    subfeature *​
  frozen_changes
  master
{NO UPSTREAM}
  bogus_noparent
$ git nav-upstream
$ git map-branches
origin/master
  cool_feature *​
    subfeature
  frozen_changes
  master
{NO UPSTREAM}
  bogus_noparent

SUGGESTED ALIASES

Some common short-hand aliases. Feel free to add these to your ~/.gitconfig file.

[alias]
  git up = nav-upstream

SEE ALSO

CHROMIUM DEPOT_TOOLS

Part of the chromium depot_tools(1) suite. These tools are meant to assist with the development of chromium and related projects. Download the tools from here.