git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* skip-worktree autostash on pull
@ 2023-09-14  9:54 Blake Campbell
  2023-09-14 21:37 ` brian m. carlson
  0 siblings, 1 reply; 3+ messages in thread
From: Blake Campbell @ 2023-09-14  9:54 UTC (permalink / raw)
  To: git

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. 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-09-14 21:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-14  9:54 skip-worktree autostash on pull Blake Campbell
2023-09-14 21:37 ` brian m. carlson
2023-09-14 21:53   ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).