Skip to content

Instantly share code, notes, and snippets.

View iagopiimenta's full-sized avatar
🏠
Working from home

Iago Pimenta iagopiimenta

🏠
Working from home
View GitHub Profile
@iagopiimenta
iagopiimenta / gist:77baa975ac3c36fca990
Created July 17, 2014 15:08
How add or change a file but is ignored by git
git init
touch test.php
git add test.php
git commit -m "initial commit"
# any command or script to add or change a file but is ignored by git
# example: add debug.php and alter file -> echo -n "testing..." >> test.php
any-command-to-edit-or-create-patch-files
ls