Skip to content

[Feedback] Stacked Diffs via the GitLab CLI

Demo

Video: https://www.youtube.com/watch?v=TOQOV8PWYic

Usage

Start a new stack:

  • glab stack create / glab stack create i-am-a-new-stack

Make a small code change, save your progress:

  • glab stack save

Sync your progress to GitLab (push branches):

  • glab stack sync

Move around to different diffs within the stack:

  • glab stack prev
  • glab stack next
  • glab stack first
  • glab stack last
  • glab stack move (uses a fuzzy finder)

Add a change to the current diff (as a response to a review, say):

  • glab stack amend
Edited by Gary Holtz
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information