Created
February 15, 2015 16:01
-
-
Save kitsuyui/ba7955112ceb4d45d72a to your computer and use it in GitHub Desktop.
.gitignore は自動生成してる ref: http://qiita.com/kitsuyui/items/185c2ca26d1ea4be5d75
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash -eu | |
cd "${0%/*}" && exec > .gitignore | |
gibo osx | |
gibo linux | |
gibo vagrant | |
gibo python | |
cat <<'EOF' | |
.foobar.conf | |
something_*.log | |
EOF |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ gibo osx | |
### https://raw.github.com/github/gitignore/408c616ae0ad8f4b8101d8e876b9b67ac6b14059/Global/osx.gitignore | |
.DS_Store | |
.AppleDouble | |
.LSOverride | |
# Icon must end with two \r | |
Icon | |
# Thumbnails | |
._* | |
# Files that might appear on external disk | |
.Spotlight-V100 | |
.Trashes | |
# Directories potentially created on remote AFP share | |
.AppleDB | |
.AppleDesktop | |
Network Trash Folder | |
Temporary Items | |
.apdisk |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ gibo osx python >> .gitignore |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ gibo python >> .gitignore | |
$ # しばらく経つ | |
$ gibo python >> .gitignore | |
$ # しばらく経つ | |
$ gibo python >> .gitignore |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ chmod +x .gitignore_gen | |
$ ./.gitignore_gen |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment