Claude made multiple mistakes during git branch management

Resolved 💬 3 comments Opened Apr 11, 2026 by divakaran5005 Closed Apr 15, 2026

Preflight Checklist

  • [x] I have searched existing issues for similar behavior reports
  • [x] This report does NOT contain sensitive information (API keys, passwords, etc.)

Type of Behavior Issue

Claude modified files I didn't ask it to modify

What You Asked Claude to Do

Claude Feedback Report

DATE: 2026-04-11

ISSUE

Claude made multiple mistakes during git branch management

MISTAKES

  1. Created start-new-git-commit-v2 from wrong branch

(should be from master, not docs/update-sdlc-rules)

  1. Used cherry-pick without checking for conflicts first
  • Caused many conflicts
  • Had to abort
  1. Used git rm which deleted files from disk
  • User was not warned before running
  • Caused confusion and panic
  1. Files copied from v2 to v2.1 included renamed files
  • User asked for simple copy
  • Result was not same as expected
  1. Too many steps, too many mistakes
  • User is learning git for first time
  • Claude should have gone slower and simpler

IMPACT

  • User lost trust
  • User confused multiple times
  • Extra time wasted fixing mistakes

SUGGESTION

  • I am a vibe coder, very new to git
  • Claude should explain every step in simple words

before doing anything

  • Claude should say "this will delete files from

your computer" not just "git rm"

  • For new users, Claude should ask:

"Do you want detailed explanation before each step?"
(this can be turned ON or OFF by the user)

  • If user turns ON detail mode:

Claude explains what will happen, what could go wrong,
and what to expect BEFORE running any command

  • If user turns OFF detail mode:

Claude runs fast with short messages only

  • Default should be ON for new users

What Claude Actually Did

Claude Feedback Report

DATE: 2026-04-11

ISSUE

Claude made multiple mistakes during git branch management

MISTAKES

  1. Created start-new-git-commit-v2 from wrong branch

(should be from master, not docs/update-sdlc-rules)

  1. Used cherry-pick without checking for conflicts first
  • Caused many conflicts
  • Had to abort
  1. Used git rm which deleted files from disk
  • User was not warned before running
  • Caused confusion and panic
  1. Files copied from v2 to v2.1 included renamed files
  • User asked for simple copy
  • Result was not same as expected
  1. Too many steps, too many mistakes
  • User is learning git for first time
  • Claude should have gone slower and simpler

IMPACT

  • User lost trust
  • User confused multiple times
  • Extra time wasted fixing mistakes

SUGGESTION

  • I am a vibe coder, very new to git
  • Claude should explain every step in simple words

before doing anything

  • Claude should say "this will delete files from

your computer" not just "git rm"

  • For new users, Claude should ask:

"Do you want detailed explanation before each step?"
(this can be turned ON or OFF by the user)

  • If user turns ON detail mode:

Claude explains what will happen, what could go wrong,
and what to expect BEFORE running any command

  • If user turns OFF detail mode:

Claude runs fast with short messages only

  • Default should be ON for new users

Expected Behavior

Claude Feedback Report

DATE: 2026-04-11

ISSUE

Claude made multiple mistakes during git branch management

MISTAKES

  1. Created start-new-git-commit-v2 from wrong branch

(should be from master, not docs/update-sdlc-rules)

  1. Used cherry-pick without checking for conflicts first
  • Caused many conflicts
  • Had to abort
  1. Used git rm which deleted files from disk
  • User was not warned before running
  • Caused confusion and panic
  1. Files copied from v2 to v2.1 included renamed files
  • User asked for simple copy
  • Result was not same as expected
  1. Too many steps, too many mistakes
  • User is learning git for first time
  • Claude should have gone slower and simpler

IMPACT

  • User lost trust
  • User confused multiple times
  • Extra time wasted fixing mistakes

SUGGESTION

  • I am a vibe coder, very new to git
  • Claude should explain every step in simple words

before doing anything

  • Claude should say "this will delete files from

your computer" not just "git rm"

  • For new users, Claude should ask:

"Do you want detailed explanation before each step?"
(this can be turned ON or OFF by the user)

  • If user turns ON detail mode:

Claude explains what will happen, what could go wrong,
and what to expect BEFORE running any command

  • If user turns OFF detail mode:

Claude runs fast with short messages only

  • Default should be ON for new users

Files Affected

Permission Mode

Accept Edits was ON (auto-accepting changes)

Can You Reproduce This?

Yes, every time with the same prompt

Steps to Reproduce

_No response_

Claude Model

Sonnet

Relevant Conversation

Impact

Critical - Data loss or corrupted project

Claude Code Version

Claude CLI version: 2.1.101

Platform

Anthropic API

Additional Context

_No response_

View original on GitHub ↗

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