Created
December 10, 2012 07:38
Revisions
-
jamescmartinez created this gist
Dec 10, 2012 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ #!/bin/bash # Please be aware to commit all your changes before; YOU WILL LOSE ALL CHANGES SINCE LAST COMMIT! git rm -r --cached . # This removes everything from the index. git add . # Add everything back using new .gitignore git commit -m ".gitignore is now working" # Commit it!