Parent directory

gitignore

174 bytes
 1# Function to add files and folders to the .gitignore file
 2
 3if (( $# < 1 )); then
 4	echo "Need at least one argument"
 5fi
 6
 7for var in "$@"; do
 8	echo "$var" >> .gitignore
 9done
10