feat: Add reordering of stacks

Description

Add a 'reordering' command to stacks to change the way they're merged.

Related Issues

Resolves #7472 (closed)

How has this been tested?

To test:

  1. Create a new stack glab stack new
  2. Make a change
  3. Save the change glab stack save
  4. Make another change
  5. Save the change glab stack save
  6. Run glab stack sync
  7. Run glab stack reorder and change the order of the branches
  8. Confirm this has been reflected on GitLab

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation
  • Chore (Related to CI or Packaging to platforms)
  • Test gap

Closes #7472 (closed)

Edited by Gary Holtz

Merge request reports

Loading