Skip to content

Fetching a remote branch not present/avail. locally. #7

Description

@grayghostvisuals

These are the steps to fetch a remote branch that is not locally available for your machine.

grayghostvisuals ✭ GrayGhostVisualsMacBookAir.local  ~/Sites/Effeckt.css on master
$ g fetch upstream
remote: Counting objects: 18, done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 14 (delta 6), reused 6 (delta 2)
Unpacking objects: 100% (14/14), done.
From github.com:h5bp/Effeckt.css
 * [new branch]      gh-pages   -> upstream/gh-pages
 * [new branch]      master     -> upstream/master
grayghostvisuals ✭ GrayGhostVisualsMacBookAir.local  ~/Sites/Effeckt.css on master
$ g branch
* master
grayghostvisuals ✭ GrayGhostVisualsMacBookAir.local  ~/Sites/Effeckt.css on master
$ g checkout -b gh/pages upstream/gh-pages
Branch gh/pages set up to track remote branch gh-pages from upstream.
Switched to a new branch 'gh/pages'

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions