Add $ or # to indicate whether a command needs to be run as root or n… (#602)
- [ci skip]
This commit is contained in:
parent
ff6a9c0ff3
commit
9a9e57c9eb
22
README.md
22
README.md
|
@ -43,20 +43,20 @@ release (or version) of the project."
|
|||
|
||||
## Installation
|
||||
|
||||
gem install github_changelog_generator
|
||||
$ [sudo] gem install github_changelog_generator
|
||||
|
||||
See also Troubleshooting.
|
||||
|
||||
## Running with Docker
|
||||
|
||||
docker run -it --rm -v "$(pwd)":/usr/local/src/your-app skywinder/github-changelog-generator
|
||||
$ docker run -it --rm -v "$(pwd)":/usr/local/src/your-app skywinder/github-changelog-generator
|
||||
|
||||
## Output example
|
||||
|
||||
- Look at **[CHANGELOG.md](https://github.com/skywinder/Github-Changelog-Generator/blob/master/CHANGELOG.md)** for this project
|
||||
- [ActionSheetPicker-3.0/CHANGELOG.md](https://github.com/skywinder/ActionSheetPicker-3.0/blob/master/CHANGELOG.md) was generated by command:
|
||||
|
||||
github_changelog_generator -u skywinder -p ActionSheetPicker-3.0
|
||||
$ github_changelog_generator -u skywinder -p ActionSheetPicker-3.0
|
||||
|
||||
- In general, it looks like this:
|
||||
|
||||
|
@ -83,19 +83,25 @@ See also Troubleshooting.
|
|||
|
||||
- Run this:
|
||||
|
||||
`github_changelog_generator -u github_username -p github_project`
|
||||
`github_changelog_generator github_username/github_project`
|
||||
$ github_changelog_generator -u github_username -p github_project
|
||||
|
||||
or, on the 1.14.x (current stable release)
|
||||
|
||||
$ github_changelog_generator github_username/github_project
|
||||
|
||||
|
||||
- For Github Enterprise repos, specify *both* `--github-site` and `--github-api` options:
|
||||
|
||||
github_changelog_generator --github-site="https://github.yoursite.com" \
|
||||
--github-api="https://github.yoursite.com/api/v3/"
|
||||
$ github_changelog_generator --github-site="https://github.yoursite.com" \
|
||||
--github-api="https://github.yoursite.com/api/v3/"
|
||||
|
||||
This generates a `CHANGELOG.md`, with pretty Markdown formatting.
|
||||
|
||||
### Params
|
||||
|
||||
Type `github_changelog_generator --help` for details.
|
||||
Print help for all command-line options to learn more details:
|
||||
|
||||
$ github_changelog_generator --help
|
||||
|
||||
For more details about params, read the Wiki page: [**Advanced change log generation examples**](https://github.com/skywinder/github-changelog-generator/wiki/Advanced-change-log-generation-examples)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user