https://github.com/justcoded/git-extras
https://github.com/justcoded/git-extras
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/justcoded/git-extras
- Owner: justcoded
- License: gpl-3.0
- Created: 2022-05-09T13:29:59.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-21T01:46:15.000Z (about 1 year ago)
- Last Synced: 2025-01-29T18:22:43.513Z (12 months ago)
- Language: Shell
- Size: 142 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Custom git commands
## Requirements
* make utility
* sudo access to be able to complete the installation
## Installation
* Clone the repository to some folder
* To install/update git extra commands just run
```bash
make install
```
## Commands reference
| Command | Description |
|-------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `git browse` | Opens remote repository URL in browser. Taken from [git-extras](https://github.com/tj/git-extras). |
| `git set-config` | Configures repository with default global filemode (or 'false' by default) and push strategy. |
| `git set-gitflow` | Creates if not exists `develop`/`release` branches or sync them. |
| `git jc-feature ` | Defines git branching flow ("gitflow" or "feature branch") and creates Feature branch from the right branch (develop or main/master) |
| `git jc-hotfix ` | Creates Hotfix branch from `main`/`master` branch. |
| `git lk-feature ` | Creates Feature branch from `release`. |
| `git lk-epic ` | Creates Epic branch from `release`. |
| `git lk-hotfix ` | Creates Hotfix branch from `main`/`master` branch. |
| `git delete-submodule` | Deletes specified submodule. Taken from [git-extras](https://github.com/tj/git-extras). |
| `git code.check` | Check code in current or specified path. Usage: `git code.check` / `git code.check src/app tests`. |
| `git code.fix` | Fix code in current or specified path. Usage: `git code.fix` / `git code.fix src/app tests`. |
| `git code.check.dirty` | Check modified code in current or specified path. Usage: `git code.check.dirty` / `git code.check.dirty src/app tests`. |
| `git code.fix.dirty` | Fix modified code in current or specified path. Usage: `git code.fix.dirty` / `git code.fix.dirty src/app tests`. |
| `git code.check.diff` | Check modified code compared to specified branch in current or specified path. Usage: `git code.check.diff` / `git code.check.diff -b master src/app tests`. |
| `git code.fix.diff` | Fix modified code compared to specified branch in current or specified path. Usage: `git code.fix.diff` / `git code.fix.diff -b master src/app tests`. |
| `git code.config.publish` | Publish `ecs.php` config file to modify rules. |
| `git extras.update` | Update installed git-extras command. |
| `git laravel.new ` | Create new laravel project (beta). |