log "Updating repository to match remote main branch..."
git fetch origin
git checkout -f origin/main
git reset --hard origin/main
if[$? -ne 0];then
log "Failed to update to the latest main branch."
exit1
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.