9 lines
148 B
Bash
Executable file
9 lines
148 B
Bash
Executable file
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
for i in "$@"; do
|
|
echo "$i" >>.gitignore
|
|
done
|
|
|
|
sort .gitignore | uniq >.gitignore.tmp
|
|
mv .gitignore.tmp .gitignore
|