Last active
May 11, 2018 18:03
-
-
Save antoinefortin/c931685ba05ea4dca250b9dfcdb701ef to your computer and use it in GitHub Desktop.
[my-usefull-terminal]
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 characters
# Delete files | |
find . -name "*.bak" -type f -delete | |
# List files | |
find . -name "*.bak" -type f | |
# Scpr local to remote repo | |
scp -r ./uploads [email protected]:/var/www/provencherroy.stage.havasmtl.ca/public/wp-content/ | |
php ./stuff.php -h 127.0.0.1 -u root -p '' -n provencher-local -s "http://www.test.dev.com/provencherroy-main" -r "http://localhost:12345" | |
Exemple : | |
git checkout master | |
git pull origin master | |
git add --all | |
git commit -am "Description" | |
git push origin master | |
git checkout stage | |
git pull origin stage | |
git merge master | |
git push origin stage | |
git push stage stage |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment