Skip to content

Instantly share code, notes, and snippets.

@123andy
Created March 19, 2020 21:15
Show Gist options
  • Save 123andy/60f63ea315868b8dae0fed9955f50e2a to your computer and use it in GitHub Desktop.
Save 123andy/60f63ea315868b8dae0fed9955f50e2a to your computer and use it in GitHub Desktop.
Dealing with a corrupt redcap builder issue
We have seen cases where an EM repo ends up nesting the entire REDCap web repo inside of it recursively. You often get /webauth/webauth/webuath runaways.
determine the hash for the last 'good' commit.
git checkout dev
git log -5 // determine last good commit
git reset --hard HASH
git push -f origin dev
Then repeat for master and prod if it ended up there...
git checkout master
...
git checkout prod
...
hopefully you're back to normal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment