mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-19 02:17:09 +00:00
When git cannot finish a pull's checkout (for example, it may not unlink a root-owned file), it stops without undoing the files it already wrote, and with no MERGE_HEAD there is nothing for merge --abort to undo. The remote's copies then showed up as local changes: the dashboard blocked the next pull and suggested committing them, which would push the stale remote content back as a new commit. A failed pull now restores paths that were clean before it started and now hold exactly the upstream version, leaving the user's own edits alone. The dashboard reports permission failures with a permission_denied code and shows the chown command that gives the source folder back to the current user.