#15832

Unamed segment, can not do anything about it

OpenCGQAQopened 1mo ago

Version

0.22.3

Operating System

macOS

Distribution Method

dmg (Mac OS - Apple Silicon)

Describe the issue

How to reproduce (Optional)

No response

Expected behavior (Optional)

No response

Relevant log output (Optional)

undefined

Activity

3
krlvi1mo ago

Hey @CGQAQ, sorry about this. The screenshot shows an unnamed segment containing a GitButler Workspace Commit, with the commit-editing actions disabled. What happened just before it appeared, for example updating the workspace, deleting or unapplying a branch, or switching branches outside GitButler? Could you also share the output of git status --short --branch and git log --graph --decorate --oneline -20, with any private names or messages redacted? That will help us work out why the workspace commit is showing there and suggest a safe way to recover.

CGQAQ1mo ago

I think AI committed a commit onto gitbutler/workplace branch, and gitbutler ui want me to do soft reset, and I did it then this happened

the log history is just that I am on gitbutler/workspace branch, and my latest commit was gitbutler workspace commit

CGQAQ1mo ago
git status --short --branch
## gitbutler/workspace

cgqaq@JasondeMacBook-Pro ego % git log --graph --decorate --oneline -20
* xxxxxxxxxx (HEAD -> gitbutler/workspace) GitButler Workspace Commit
* yyyyyyyyyy GitButler Workspace Commit
* zzzzzzzzzz (main) 
* ....
* ....

Update: @krlvi I dropped the yyyyyyyyyy commit using interactive rebase, the Unnamed segment gone, can we have some way to drop it in the gitbutler GUI? Unnamed segment is rather confusing.