Skip to content

Commit 51669f8

Browse files
committed
Add more force push docs to README
1 parent b28bd6c commit 51669f8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,7 @@ Be sure to define the `GITLAB_PASSWORD` secret in `https://github.com/<namespace
3535
Before setup a token to use as `GITLAB_PASSWORD` here https://gitlab.com/profile/personal_access_tokens
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.
38+
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`).

0 commit comments

Comments
 (0)