mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 04:15:48 +02:00
Merge pull request #1980 from ajhynes7/stash-untracked-changes
This commit is contained in:
commit
b33ec5a050
47 changed files with 182 additions and 22 deletions
|
@ -123,6 +123,10 @@ func (self *StashCommands) SaveStagedChanges(message string) error {
|
|||
return nil
|
||||
}
|
||||
|
||||
func (self *StashCommands) StashIncludeUntrackedChanges(message string) error {
|
||||
return self.cmd.New(fmt.Sprintf("git stash save %s --include-untracked", self.cmd.Quote(message))).Run()
|
||||
}
|
||||
|
||||
func (self *StashCommands) Rename(index int, message string) error {
|
||||
sha, err := self.Sha(index)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue