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 | |
# save old state | |
BRANCH=$(git branch | awk '/^\*/ { print $2}') | |
STASH=$(git stash -u) | |
# update all remotes | |
git fetch --all | |
# update master |
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
version: "3" | |
services: | |
# mount PEcAn web folder into web server, this allows for | |
# editing code in PHP and immediatly test the new code. | |
web: | |
volumes: | |
- ${HOME}/git/pecan/web:/var/www/html/pecan | |
- ${HOME}/git/pecan/docker/config.docker.php:/var/www/html/pecan/config.php |
NewerOlder