merge-commit-and-feature: commit moved commit script as feature subcommand
This commit is contained in:
33
README.md
33
README.md
@@ -4,7 +4,6 @@ This is a collection of simple command-line scripts, bash aliases, and bash util
|
||||
|
||||
The command-line scripts include:
|
||||
|
||||
* commit - make using `git-commmit` easier
|
||||
* feature - make working with feature branches easier
|
||||
* xgrep - make using `git-grep` easier
|
||||
|
||||
@@ -57,18 +56,6 @@ To include the `bash` aliases and enable tab completion for the `feature` script
|
||||
source ~/GitHub/rkiel/git-utilities/dotfiles/bashrc
|
||||
```
|
||||
|
||||
## Commit utility
|
||||
|
||||
This utility makes it easier to write commit messages.
|
||||
No need to specify the `-m` parameter or wrapping the message in quotes.
|
||||
For example,
|
||||
|
||||
```
|
||||
commit this is a sample commit message
|
||||
```
|
||||
|
||||
generates the command `git commit -m "this is a sample commit message"`.
|
||||
|
||||
## Feature utility
|
||||
|
||||
### Usage
|
||||
@@ -123,6 +110,26 @@ You can also override the default standard branch by specifying another branch.
|
||||
feature merge integration
|
||||
```
|
||||
|
||||
#### Commit
|
||||
|
||||
Use the `commit` subcommand to make it easier to write commit messages.
|
||||
No need to specify the `-m` parameter or wrapping the message in quotes.
|
||||
If you forget and pass in `-m` anyway, it will ignore it.
|
||||
For example,
|
||||
|
||||
```
|
||||
feature commit this is a sample commit message
|
||||
feature commit -m this is a sample commit message
|
||||
```
|
||||
|
||||
generates the command `git commit -m "this is a sample commit message"`.
|
||||
|
||||
The commit message will be prepended with the feature name. For example,
|
||||
|
||||
```
|
||||
my-feature-name: this is a sample commit message
|
||||
```
|
||||
|
||||
#### End
|
||||
|
||||
Use the `end` subcommand to close out the feature.
|
||||
|
||||
Reference in New Issue
Block a user