-
-
Notifications
You must be signed in to change notification settings - Fork 110
Open
Description
There's a suggestion to add git stash && git stash apply
to cron in https://jwiegley.github.io/git-from-the-bottom-up/4-Stashing-and-the-reflog.html
That's probably not a great idea. It'll trigger "files have changed" prompts in editors, fill your stash list with garbage. and might hit races is you're writing or compiling code while the cron job hits.
If you really wanted to do something like this, you probably want to make your own copy of the index in order to commit the changes to a local branch or something.
But I'd suggest just dropping the final line of that section.
Wolf-SO
Metadata
Metadata
Assignees
Labels
No labels