requarks / wiki-v1

Legacy version (1.x) of Wiki.js
https://wiki.js.org
GNU Affero General Public License v3.0
101 stars 75 forks source link

Wiki.js can't handle force push #160

Closed marianhlavac closed 3 years ago

marianhlavac commented 5 years ago

Actual behavior

After force pushing into the remote repository, Wiki.js fails to keep up and sync brokes.

Expected behavior

After force pushing, Wiki.js does any action (desync warning, trying to pull, asking for reset)

Steps to reproduce the behavior

  1. force push into the remote repo
  2. restart wikijs server
mozboz commented 5 years ago

Presumably because local wikijs repo needs manual attention to resolve against the remote repo? Did you trying checking out git status or git pull on the local wikijs repo? Perhaps #185 related?