git-deploy / git-deploy
Installs: 41
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:Shell
This package is not auto-updated.
Last update: 2024-03-26 00:06:46 UTC
README
git-deploy
Bash script for better GIT application deployment.
Installation
You can download this package as an ZIP archive or use Composer to install in your PHP project.
Composer
{
"require": {
"git-deploy/git-deploy": "1.0.0-beta.2"
},
"config": {
"bin-dir": "bin"
}
}
Usages
You should run the script via GIT Bash or Unix terminal.
Push the current branch to a remote repository.
sh ./bin/deploy.sh
Merge the current branch into the target
and push both to a remote repository.
sh ./bin/deploy.sh target
Merge the source
branch into the target
and push both to a remote repository.
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.