{"thread":{"id":"56950","subject":"Emphasize that assume-unchanged and skip-worktree bits are not propagated to origin with git push","startedAt":"2021-11-20T16:15:40Z","lastAt":"2021-11-20T16:15:40Z","messageCount":1,"participants":["Martin Bruzina"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"441856","messageId":"3df2bcbd-fac2-b36d-3f50-d52e573fc803@bruzina.cz","threadId":"56950","inReplyTo":null,"subject":"Emphasize that assume-unchanged and skip-worktree bits are not propagated to origin with git push","fromName":"Martin Bruzina","fromEmail":"martin@bruzina.cz","sentAt":"2021-11-20T16:06:17Z","receivedAt":"2021-11-20T16:15:40Z","isPatch":false,"sender":{"key":"martin@bruzina.cz","avatar":null},"body":"General overview of the idea:\nReference https://git-scm.com/docs/git-update-index describes \nassume-unchanged and skip-worktree bits and should include clear \ninformation on whether they are propagated to remotes with git push or not.\n\nWhat problem will this solve?\n From https://git-scm.com/docs/git-update-index it is unclear, how \nassume-unchanged and skip-worktree bits work in relation to remotes - if \nthey are local only, or propagated to a remote as well.\n\n From other documentation - \nhttps://git-scm.com/docs/git-sparse-checkout#_sparse_checkout or \nhttps://git-scm.com/docs/gitfaq, it might be deducible, but it would be \nconvenient to mention it in \nhttps://git-scm.com/docs/git-update-index#_notes as well.\n\nHave I thought about other solutions?\nUse Google - it's not easy to find the fact by Google\nSearch for the information by on-page search - \nhttps://git-scm.com/search/results?search=skip-worktree and \nhttps://git-scm.com/search/results?search=assume-unchanged top results \nare not helpful, but I admit that from the bottom ones it is deducible\nWrite a blog about it - \nhttp://blog.stephan-partzsch.de/how-to-ignore-changes-in-tracked-files-with-git/ \nalready posted the information: But no matter which option \n(assume-unchanged and skip-worktree bits) you choose there is one point \nto consider: The chosen bit will not be propagated by git push.\n\n-- \nS pozdravem\nMartin Bružina\n\n"}]}