https://github.com/ajthinking/git
https://github.com/ajthinking/git
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ajthinking/git
- Owner: ajthinking
- License: mit
- Created: 2021-12-12T14:04:33.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-12-12T14:22:16.000Z (about 4 years ago)
- Last Synced: 2025-02-11T10:47:27.407Z (11 months ago)
- Language: PHP
- Homepage:
- Size: 42 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Git for Laravel
:warning: Under development
## Usage
```php
Git::clone('user/repo', '~/local-path');
Git::checkout('feature/branch-name')
// Make changes ...
Git::add();
Git::commit('Some changes');
// Make PR ...
```
### Todo
- [x] `git --version`
- [x] `git clone remote path`
- [ ] `git add .`
- [ ] `git commit -m 'Some message'`
### Not supported
- Windows
- Bare repos
- Reference repos
### Testing
```bash
composer test
```
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
### Security
If you discover any security related issues, please email jurisoo@hotmail.com instead of using the issue tracker.
## Credits
- Much of the code borrowed from [kbjr/Git.php](https://github.com/kbjr/Git.php)
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
## Laravel Package Boilerplate
This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).