Assess and Rename Current Branch
- If user has specified a new name, apply it; otheriwse, get the current branch name with
git branch --show-current - Get a summary of what's actually been done on this branch:
git log main..HEAD --onelineto see commitsgit diff main..HEAD --name-onlyto see changed files
- Compare the branch name against the actual changes:
- Does the name still accurately describe the work?
- Is the scope broader or narrower than the name implies?
[Description truncada. Veja o README completo no GitHub.]