Git: .gitignore pattern

Example:

# 不論階層, 忽略所有 .gradle 的資料夾
.gradle/
# 不論階層, 忽略所有 build 的資料夾
build
# 只忽略所在目錄的 .out 資料夾
/.out

http://schacon.github.com/git/gitignore.html

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s