Local changes overwrite merge

When get this error in Run Cloud at Git/Deployment Error
  • Step to resolve error
    • Discard changes affected in server
      • can check all changes using
        git status (in superuser do mode)
      • can discard all changes
        git checkout . (in superuser do mode)
      • for discard a changes file
        git restore <file> (in superuser do mode)
    • Change ownership for file
      • after discard changes ownership file will change to root
      • can change ownership fill to old owner
        chown <owner name>:<group name> <file name> (in superuser do mode)

Leave a comment

Your email address will not be published. Required fields are marked *