https://github.com/perryflynn/git-utils
A collection of hopefully helpful scripts to work with git repositories.
https://github.com/perryflynn/git-utils
branches git pull-requests shell-script
Last synced: 11 months ago
JSON representation
A collection of hopefully helpful scripts to work with git repositories.
- Host: GitHub
- URL: https://github.com/perryflynn/git-utils
- Owner: perryflynn
- License: mit
- Created: 2020-03-25T21:51:27.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-07-21T19:31:37.000Z (almost 4 years ago)
- Last Synced: 2023-07-03T12:22:24.765Z (almost 3 years ago)
- Topics: branches, git, pull-requests, shell-script
- Language: Shell
- Homepage:
- Size: 35.2 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# git-utils
A collection of hopefully helpful scripts to work with git repositories.
| Script | Description | Download Link |
|---|---|---|
| [git-clean-sync.sh](git-clean-sync/) | fetch, pull (merge), auto-set remote, push, delete merged PR branches; everything **without touching the checked out workcopy** | [Download](dist/git-clean-sync.sh) |
| [git-cleanup.sh](git-cleanup/) | Cleanup local and remote branches where the last commit is older than X days | [Download](dist/git-cleanup.sh) |
| [git-pr-changelog.sh](git-pr-changelog/) | Generates a changelog from pull request commit messages | [Download](dist/git-pr-changelog.sh) |
## No need to build
Just use the latest builds in the `dist/` folder.
## Changelog
- 2022-07-21: Add option to update default branch (aka `HEAD`) from remote
- 2022-07-21: Add new script `git-cleanup.sh`
- 2022-07-21: Add new script `git-pr-changelog.sh`
## Build
To make the life of the developer easier, the code is separated in
multiple files. You can use `make` to build the scripts.
- `make`: Builds all scripts
- `make clean`: Delete existing builds