Skip to content

Instantly share code, notes, and snippets.

View fpedroza's full-sized avatar

Frank Pedroza fpedroza

  • Salt Lake City, Utah, USA
View GitHub Profile
@fpedroza
fpedroza / gitignore
Last active July 31, 2019 21:14 — forked from judy2k/gitignore
A script to manage a .gitignore file
#!/bin/bash
# To add two items to the current .gitignore file:
# gitignore '*.swp' bin
#
# To sort and de-dupe the current .gitignore file:
# gitignore
GITIGNORE=.gitignore;
# create ignore file if necessary