This file contains 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 characters
# remove specific file from git cache | |
git rm --cached filename | |
# remove all files from git cache | |
git rm -r --cached . | |
git add . | |
git commit -m ".gitignore is now working" |
This file contains 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 characters
#!/bin/bash | |
# ------------------------------------------------------------------ | |
# [Author] Renato Mefi <[email protected]> | |
# https://github.com/renatomefi | |
# | |
# [Desc] Configure alternatives for PHP Installations | |
# Very usefull when you are building your PHP and don't want to use | |
# more sofsticated softwares like 'phpbrew', 'php-build', 'php-env' ... | |
# | |
# [Usage] ./php-alternatives-install.sh /path/for/php/installation 200 |