Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/toch/gitils
Git Utils (Alias, Hooks, etc.)
https://github.com/toch/gitils
git git-alias git-hooks
Last synced: 17 days ago
JSON representation
Git Utils (Alias, Hooks, etc.)
- Host: GitHub
- URL: https://github.com/toch/gitils
- Owner: toch
- Created: 2013-05-10T12:23:54.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2021-03-10T15:52:39.000Z (over 3 years ago)
- Last Synced: 2024-10-06T20:21:52.084Z (about 1 month ago)
- Topics: git, git-alias, git-hooks
- Language: Shell
- Size: 6.84 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gitils
Install it in directory gitils in your home directory.
## Aliases
Run to install the alias
```Bash
aliases.sh
```## Hooks
### Setup
Configure it globally
```bash
git config --global init.templatedir ~/gitils/template
```and then for your existing projects, just reinit each of them with `git init`.
Or configure it project by project:```bash
git init --template ~/gitils/template
```### Prepare Commit Message
The hook automatically prepen the commit message with the name of the feature
branch. A feature branch is identified according the the format `feature/`.
Dashes and underscores are replaced by space.## Externals
### Prompt
The project [bash-git-prompt](https://github.com/magicmonty/bash-git-prompt)
will give you a great informative prompt in Bash (current repository and branch,
number of files staged or changed, etc.).