.gitignore

こんな状態で

$ git status
# On branch master
#
# Initial commit
#
# Untracked files:
# (use “git add …” to include in what will be committed)
#
# .DS_Store
# 512icon.png
# android.tmp/
# android/
# android_release/
# icon.png
# icon.xcf
# icon72.png
# icon72.xcf

.gitignore ファイルを作成して以下のように記載すると

.DS_Store
*.tmp
*.png
!icon.png
android_release

*.pngは無視するけど、!icon.pngでicon.pngだけ無視しない。

こうなる。

$ git status
# On branch master
#
# Initial commit
#
# Untracked files:
# (use “git add …” to include in what will be committed)
#
# .gitignore
# android/
# icon.png
# icon.xcf
# icon72.xcf

This entry was posted on 木曜日, 2月 23rd, 2012 at 1:47 PM and is filed under git. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

Unityによるゲームを公開しております iOS/Android
https://itunes.apple.com/jp/app/lost-knight-3d-action/id900917032
https://play.google.com/store/apps/details?id=com.groundroad.runknight

各種開発支援・機能開発等小さいお仕事などもお請けしております。
unity開発支援, PHPシステム開発, javascript/html5 フロント開発, titanium mobileアプリ開発
お気軽にお問い合わせください
大崎・五反田近郊での対面でのお打ち合わせはいつでも可能です。