Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alphazero/344757 to your computer and use it in GitHub Desktop.
Save alphazero/344757 to your computer and use it in GitHub Desktop.
alphazero[1]:~$ cd Code/
alphazero[2]:Code$ mkdir temp
alphazero[3]:temp$ git clone git://github.com/alphazero/jredis.git
Initialized empty Git repository in /Users/alphazero/Code/temp/jredis/.git/
remote: Counting objects: 3383, done.
remote: Compressing objects: 100% (944/944), done.
remote: Total 3383 (delta 1678), reused 2882 (delta 1341)
Receiving objects: 100% (3383/3383), 4.09 MiB | 1142 KiB/s, done.
Resolving deltas: 100% (1678/1678), done.
alphazero[4]:temp$ cd jredis/
alphazero[5]:jredis$ git fetch
alphazero[6]:jredis$ git branch
* master
alphazero[7]:jredis$ git checkout --track -b 1.2.n origin/1.2.n
Branch 1.2.n set up to track remote branch refs/remotes/origin/1.2.n.
Switched to a new branch "1.2.n"
alphazero[8]:jredis$ git branch
* 1.2.n
master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment