skip-worktree autostash on pull
- From
- Blake Campbell <bc@mpbell.io>
- Date
- Sep 14, 2023, 09:54 UTC
- Message-ID
- <AB6A85F5-3E76-4462-931E-AD76E0066C37@mpbell.io>
Hi all - I use update-index --skip-worktree on some config files that I change locally and don’t want to commit, but every time I pull from the remote I have to go through a process of no-skip-worktree, stash, pull, stash pop, then skip-worktree again, which is all a bit tedious! Ideally some switch like --autostash for git pull would be really useful. Does anyone know if something like that exists?
Thanks! Blake.