mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-15 00:15:32 +02:00
feat: add stash option to include untracked changes
This commit is contained in:
committed by
Andrew Hynes
parent
de6d278e57
commit
7ddb80a13e
@ -109,3 +109,11 @@ func (self *StashCommands) SaveStagedChanges(message string) error {
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
func (self *StashCommands) StashUntrackedChanges(message string) error {
|
||||
if err := self.cmd.New("git stash -u").Run(); err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user