-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update README: clarify running command
- Loading branch information
1 parent
cb955ff
commit 672fcba
Showing
1 changed file
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,14 +21,15 @@ export GITLAB_TOKEN=<your_gitlab_token> | |
export COMMITTER_NAME="<Name Surname>" | ||
export COMMITTER_EMAIL=<[email protected]> | ||
|
||
import-gitlab-commits | ||
$(go env GOPATH)/bin/import-gitlab-commits | ||
``` | ||
|
||
where | ||
- `GITLAB_BASE_URL` is a GitLab [instance URL](https://stackoverflow.com/questions/58236175/what-is-a-gitlab-instance-url-and-how-can-i-get-it), e.g. `https://gitlab.com`, `https://gitlab.gnome.org` or any GitLab server; | ||
- `GITLAB_TOKEN` is a personal [access token](https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html#create-a-personal-access-token); | ||
- `COMMITTER_NAME` is your GitHub name with surname, e.g. `John Doe` (can be passed to `git config user.name`); | ||
- `COMMITTER_EMAIL` is your GitHub email, e.g. `[email protected]` (valid for `git config user.email`). | ||
- `COMMITTER_EMAIL` is your GitHub email, e.g. `[email protected]` (valid for `git config user.email`); | ||
- `$(go env GOPATH)/bin/` is the path where `import-gitlab-commits` installed. | ||
|
||
## Example | ||
|
||
|