**違う名前のリモートブランチにプッシュする [#oe1264d1]
 > git checkout -b dev-spike
 > git branch -a
 * dev-spike
   master
   remotes/origin/HEAD -> origin/master
   remotes/origin/master
 
 > git push origin dev-spike:dev-spike1
 To https://github.com/masatomix/hello.git
  * [new branch]      dev-spike -> dev-spike1


**addしないでコミット [#uc88ddd1]
 git commit -a


**リモートのブランチの削除 [#o7f554bf]
[[Githubのブランチ削除 - Qiita>http://qiita.com/kwgch/items/98bbaae8e9f40a9548e0]]

**ローカルのブランチの削除 [#m06eba01]
 > git branch
 * dev-spike
   master
 
 > git checkout master
 Switched to branch 'master'
 Your branch is up-to-date with 'origin/master'.
 
 > git branch -d dev-spike
 Deleted branch dev-spike (was c5776c5).
 
 > git branch
 * master

消えました

[[4. ブランチを削除する【チュートリアル1 ブランチを使ってみよう】 | サルでもわかるGit入門 〜バージョン管理を使いこなそう〜 | どこでもプロジェクト管理バックログ>http://www.backlog.jp/git-guide/stepup/stepup2_5.html]]

トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS