Skip to main content

Stashing changes

00:03 Boozang supports stash, similar to G stash

00:25 Boozang feature: Stash and Stash Pop allows for easy testing of changes and tracking them.

00:45 Stash feature allows you to save changes without committing.

01:00 Boozang introduces Stash and Stash Pop for comparing and managing changes.

01:21 Stashing allows testing changes

01:41 Stash and Stash Pop helps bring back changes.

01:59 Stash feature allows you to temporarily save work

02:19 Stash feature is very useful for infrequent commits or merges.


Stashing Changes

Introduction

In Boozang, stashing changes allows users to temporarily store modifications and revert to a clean working state. This is particularly useful when needing to switch contexts or branches without committing incomplete work. Applying a stash (or stash pop) restores these changes.

Stashing Changes

How to Stash Changes

  1. Make Changes: Work on your tests or modules in Boozang.
  2. Stash Your Work: When you need to switch tasks without committing, stash your changes. This moves your changes to a temporary space and reverts your working area to the last commit state.

Viewing Stashed Changes

  • List of Stashes: Boozang may provide a way to view a list of all stashed changes. This can be used to identify and select the correct stash later.

Applying a Stash (Stash Pop)

Restoring Stashed Changes

  1. Selecting the Stash: Choose the stash you wish to apply from your list of stashed changes.
  2. Apply the Stash: Use the "stash pop" functionality to apply the changes to your current working branch.
  3. Resolve Conflicts if Any: If there are conflicts between the stashed changes and the current state of your branch, resolve them as needed.

After Applying a Stash

  • Check Changes: Ensure all stashed changes are correctly applied and working as intended.
  • Commit if Necessary: If the applied changes are complete and functioning, consider committing them to your branch.

Best Practices

  • Regular Stash Labels: Label your stashes with meaningful names or descriptions to easily identify them later.
  • Stash Housekeeping: Periodically review and clear out unnecessary stashes to keep your workspace clean.

Conclusion

Stashing is a powerful feature in Boozang that helps manage changes more flexibly, especially when juggling multiple tasks or issues. Proper use of stashing and applying stashes can enhance workflow efficiency without risking loss of work.