Skip to content

Commit aa73859

Browse files
authored
docs: add tag syncing documentation
1 parent 000571b commit aa73859

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ A GitHub Action for syncing between two independent repositories using **force p
1212

1313
## Usage
1414

15+
Always make a full backup of your repo (`git clone --mirror`) before using this action.
16+
1517
### GitHub Actions
1618
```
1719
# File: .github/workflows/repo-sync.yml
@@ -38,6 +40,10 @@ jobs:
3840

3941
To Sync all branches from source to destination, use `SOURCE_BRANCH: "refs/remotes/source/*"` and `DESTINATION_BRANCH: "refs/heads/*"`. But be careful, branches with the same name including `master` will be overwritten.
4042

43+
#### Advanced: Sync all tags
44+
45+
To Sync all tags from source to destination, use `SOURCE_BRANCH: "refs/tags/*"` and `DESTINATION_BRANCH: "refs/tags/*"`. But be careful, tags with the same name will be overwritten.
46+
4147
### Docker
4248
```
4349
docker run --rm -e "SSH_PRIVATE_KEY=$(cat ~/.ssh/id_rsa)" $(docker build -q .) \

0 commit comments

Comments
 (0)