Quick branch creation #3
Labels
No labels
area:build
area:git
area:intrinsics
area:prompts
area:tests
breaking-change
discussion
docs
enhancement
feature
requires-docs-update
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
pascal_nulah/Nulah.PowerShell#3
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Should be able to have a cmdlet that I call to quickly make a branch from whatever the current branch is to enable me to make a bunch of small random commits, and then a cmdlet that will squash merge all those changes back into the parent branch as a single commit.
Use case: I’m exploring/debugging something that’s a pain in the ass but I want an immutable history of changes that I can see before quick merging it back into whatever my current feature branch is.
IDEs and git clients can do this sure, but I want this in my local git history. It’s basically just going to be a wrapper around
git commit -mbut I clearly haven’t aliased it yet (or I want to do it my way first just because)