You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Syncing Content from omegaup.com to this repository
@@ -106,6 +108,10 @@ git push --force
106
108
```
107
109
This will push the changes to sync-course branch, now the github action `Sync Course Content` will run which will add a commit made by the Github Actions bot with the latest content from omegaup.com.
108
110
111
+
### Important
112
+
-```--hard``` flag is required to avoid any merge conflicts if the main branch has some changes which are not in the `sync-course` branch and also to update the `sync-course` branch with the latest changes from the `main` branch.
113
+
-```-force``` flag is required to push the changes to the `sync-course` branch as we are resetting the branch to main branch and hence the history of the `sync-course` branch will be different from the remote `sync-course` branch.
114
+
109
115
**For Contributors:**
110
116
If a contributor want to request syncing of content from the omegaup.com to the course repo in the github, they can raise a pr to targetting the `sync-course` branch with the changes in the `sync-course.json` file to keep a log of the sync request. Once the pr gets merged the `sync-courses` branch will have the a commit made by Github Actions bot containg the latest content from omegaup.com.
0 commit comments