All devloper should have php installed on there local system along with tool call "composer" Step: ``` 1. repo clone 2. cd inside the cloned repo dir. 3. git checkout branch 4. Install grumphp => composer require --dev phpro/grumphp 5. update grupphp.yml using below content from: https://github.com/phpro/grumphp/blob/master/doc/tasks/git_branch_name.md ``` [root@destination grump_dummy]# cat composer.json ``` { "require-dev": { "phpro/grumphp": "^0.19.1" }, "config": { "allow-plugins": { "phpro/grumphp": true } } } ``` to install: https://github.com/phpro/grumphp composer require --dev phpro/grumphp To setup: vim grumphp.yml ``` grumphp: tasks: git_branch_name: whitelist: - "/JIRA-([0-9]*)/" blacklist: - "develop" additional_modifiers: '' allow_detached_head: true ``` php ./vendor/bin/grumphp git:init --config=grumphp.yml
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up