- 追加された行はこの色です。
- 削除された行はこの色です。
[[コマンド]]
*概要 [#n949ed01]
-git難しい
*下位ページ [#efca017e]
-[[共同開発]]
*トラブルシューティング [#vd0257bb]
-日本語が文字化けする→以下を打つだけでOK
git config --local core.quotepath false
-タグ'tagname"を作る
git tag tagname
git tag tagname
-タグ"tagname"を削除
git tag -d tagname
git tag -d tagname
-リモートタグ"tagname"を削除
git push origin :TAGNAME
git push origin :TAGNAME
-pushしていないタグを全てpush
git push origin --tags
git push origin --tags
-ブランチの可視化ツール
gitk
-でっかいファイルを間違えてコミットしてしまったら
git filter-branch --force --index-filter 'git rm --cached --ignore-unmatch でかいファイル.tar.gz' --prune-empty --tag-name-filter cat -- --all
git commit --amend -CHEAD
git push