如何在 Git 中克隆单个分支?

casey@agave [~/Projects/skeleton] git branch
* master
  rails
  c
  c++
casey@agave [~/Projects] git clone skeleton new
Initialized empty Git repository in /Users/casey/Projects/new/.git/

答案