Bash script for better GIT application deployment.
You can download this package as an ZIP archive or use Composer to install in your PHP project.
{
"require": {
"git-deploy/git-deploy": "1.0.0-beta.2"
},
"config": {
"bin-dir": "bin"
}
}
You should run the script via GIT Bash or Unix terminal.
sh ./bin/deploy.sh
sh ./bin/deploy.sh target
sh ./bin/deploy.sh target source
Each command also merge origin/master
into the source
and/or target
branch so you will have your branch up to date with production state.