アットウィキロゴ

主なコマンド

  • git add .
  • git commit -m ""
  • git status
  • git checkout "branchname"
  • git checkout -b "new branch"
  • git branch
  • git branch -d "del branch"
  • git remote add "alias" "remote pass"
  • git push "remote pass"
  • git pull "remote pass" "branch"
  • git log
  • git clone --bare "source dir" "target dir"
    • リポジトリとしてtarget dirへコピー
  • git clone "remote pass"
  • git diff "filename"
    • filenameのコミット時とのdiffを取る
  • git merge "target branch"
    • target branchの内容現在のbranchマージする



最終更新:2011年12月15日 12:51