-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Summary of the Issue
An error message is displayed when running the auto_commit.zsh script with both the -p (auto push) and --no-branch flags.
Steps to Reproduce
- Execute the
auto_commit.zshscript with the-pand--no-branchflags.
Expected Behavior
The script should successfully commit to the current branch and auto-push the changes without any error messages, as implied by the combination of --no-branch and -p.
Actual Behavior
The script outputs the following error message:
Use --no-branch to commit to current branch, or -b/--branch to auto-create new branch
Additional Context
The error message suggests a potential conflict or misunderstanding in the intended usage of --no-branch when combined with the auto-push functionality (-p). It seems to indicate that --no-branch might be incompatible with the implicit branch handling that -p might trigger, or there's a logical inconsistency in how these flags interact.
🤖 Generated with Gemini CLI
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working