Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete unused branches #130

Open
luccalb opened this issue Jan 21, 2025 · 0 comments
Open

Delete unused branches #130

luccalb opened this issue Jan 21, 2025 · 0 comments
Milestone

Comments

@luccalb
Copy link

luccalb commented Jan 21, 2025

User Story

  1. As an AMOS software developer
  2. I want to maintain a clean GitHub repository with a clear branch structure
  3. so that I easily identify the active feature branches and release branches, whilst deleting stale/merged branches

Additional context

  • It's safe to delete inactive branches after they were merged into develop/main
  • The code will not be lost and is still considered for grading, as the history/commits are visible in the develop branch
  • Statement by Thomas:

Hi,
there are basically two scenarios you should consider:

  1. You have merged all changes of your feature branch to your main branch. In this case there is no relevant work left in the feature branch because it can be found in the main branch. You can delete these branches.
  2. There are some unmerged changes on your feature branch. In this case there is relevant work which would be lost by deleting the branch. In this case don't delete the branch.
    Cheers,
    Thomas

Acceptance Criteria

  • All unused/stale/merged branches are deleted
  • The branch structure is in a clean state
  • Branches that should NOT be deleted
    • develop
    • merge/core-develop-cone
    • merge/to-core
    • other active branches

Definition of Done

  • Test cases have been created and are running successfully
  • Documentation for the new component was added
  • Github Actions are running without errors
@luccalb luccalb moved this to Product Backlog in amos2024ws01-feature-board Jan 21, 2025
@luccalb luccalb added this to the Demo Day milestone Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Product Backlog
Development

No branches or pull requests

1 participant