Skip to content

Commit 15b7763

Browse files
committed
Merge branch 'master' of github.com:Karlinator/gitlab-mirror-and-ci-action
2 parents fdc0db0 + 3f2a1f4 commit 15b7763

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
with:
2424
args: "https://gitlab.com/<namespace>/<repository>"
2525
env:
26-
FORCE_PUSH: "true"
26+
FORCE_PUSH: "false"
2727
GITLAB_HOSTNAME: "gitlab.com"
2828
GITLAB_USERNAME: "svboxel"
2929
GITLAB_PASSWORD: ${{ secrets.GITLAB_PASSWORD }} // Generate here: https://gitlab.com/profile/personal_access_tokens
@@ -36,6 +36,4 @@ Before setup a token to use as `GITLAB_PASSWORD` here https://gitlab.com/profile
3636
The token must have `read_api`, `read_repository` & `write_repository` permissions in GitLab.
3737
For granular permissions create seperate users and tokens in GitLab with restricted access.
3838

39-
## Force push
40-
41-
If you're rewriting history in the primary repo (e.g by using `git rebase`), you'll need to force push. Set the FORCE_PUSH environment variable to `true` to enable this. This will overwrite history in teh mirror as well, so be careful with this (just like any time you're using `git push --force`).
39+
If you're rewriting history in the primary repo (e.g by using `git rebase`), you'll need to force push. Set the `FORCE_PUSH` environment variable to `true` to enable this. This will overwrite history in the mirror as well, so be **careful with this** (just like any time you're using `git push --force`).

0 commit comments

Comments
 (0)