You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.htmlThat'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.
The text was updated successfully, but these errors were encountered: