Skip to content

Instantly share code, notes, and snippets.

@jottenlips
Last active November 8, 2022 18:05
Show Gist options
  • Select an option

  • Save jottenlips/05ac770060e6ed5966ee9275c9580d43 to your computer and use it in GitHub Desktop.

Select an option

Save jottenlips/05ac770060e6ed5966ee9275c9580d43 to your computer and use it in GitHub Desktop.
Add a line to your .gitignore file.
ignore() {
echo "\n$1" >>.gitignore
echo "added $1 to .gitignore"
}
# use
# ignore .DS_STORE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment