[Bug] Git checkout -b corrupts local changes with unwanted resets/stashes

Resolved 💬 3 comments Opened Apr 9, 2026 by CodeYozh Closed Apr 13, 2026

Bug Description
completely perverting / corrupting the local changes when asked to create a new git branch via: git checkout -b BRANCH_NAME -- git resets, git stashes, etc, when asked, it claimed 'git checkout -b requires a clean working tree when switching bases'

Environment Info

  • Platform: linux
  • Terminal: vte-based
  • Version: 2.1.92
  • Feedback ID: 3fe1f082-061d-419b-9b53-6f8ba42f78e6

Errors

[{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: Request failed with status code 429\n    at qy9 (/$bunfs/root/src/entrypoints/cli.js:1880:15046)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T21:40:04.645Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: Request failed with status code 429\n    at qy9 (/$bunfs/root/src/entrypoints/cli.js:1880:15046)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T21:40:04.645Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: Request failed with status code 429\n    at qy9 (/$bunfs/root/src/entrypoints/cli.js:1880:15046)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T21:41:13.694Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: Request failed with status code 429\n    at qy9 (/$bunfs/root/src/entrypoints/cli.js:1880:15046)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T21:41:13.694Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: Request failed with status code 429\n    at qy9 (/$bunfs/root/src/entrypoints/cli.js:1880:15046)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T21:41:13.694Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: Request failed with status code 429\n    at qy9 (/$bunfs/root/src/entrypoints/cli.js:1880:15046)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T21:43:07.782Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: Request failed with status code 429\n    at qy9 (/$bunfs/root/src/entrypoints/cli.js:1880:15046)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T21:43:07.782Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: Request failed with status code 429\n    at qy9 (/$bunfs/root/src/entrypoints/cli.js:1880:15046)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T21:43:07.782Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3447)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T21:46:25.162Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: Request failed with status code 429\n    at qy9 (/$bunfs/root/src/entrypoints/cli.js:1880:15046)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T04:51:30.731Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: Request failed with status code 429\n    at qy9 (/$bunfs/root/src/entrypoints/cli.js:1880:15046)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T04:51:30.731Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3447)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T16:13:58.116Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3447)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T19:45:01.913Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3447)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T20:52:34.290Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: Request failed with status code 429\n    at qy9 (/$bunfs/root/src/entrypoints/cli.js:1880:15046)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T21:57:46.683Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-cod…

Note: Content was truncated.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗