git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Emphasize that assume-unchanged and skip-worktree bits are not propagated to origin with git push
@ 2021-11-20 16:06 Martin Bruzina
  0 siblings, 0 replies; only message in thread
From: Martin Bruzina @ 2021-11-20 16:06 UTC (permalink / raw)
  To: git

General overview of the idea:
Reference https://git-scm.com/docs/git-update-index describes 
assume-unchanged and skip-worktree bits and should include clear 
information on whether they are propagated to remotes with git push or not.

What problem will this solve?
 From https://git-scm.com/docs/git-update-index it is unclear, how 
assume-unchanged and skip-worktree bits work in relation to remotes - if 
they are local only, or propagated to a remote as well.

 From other documentation - 
https://git-scm.com/docs/git-sparse-checkout#_sparse_checkout or 
https://git-scm.com/docs/gitfaq, it might be deducible, but it would be 
convenient to mention it in 
https://git-scm.com/docs/git-update-index#_notes as well.

Have I thought about other solutions?
Use Google - it's not easy to find the fact by Google
Search for the information by on-page search - 
https://git-scm.com/search/results?search=skip-worktree and 
https://git-scm.com/search/results?search=assume-unchanged top results 
are not helpful, but I admit that from the bottom ones it is deducible
Write a blog about it - 
http://blog.stephan-partzsch.de/how-to-ignore-changes-in-tracked-files-with-git/ 
already posted the information: But no matter which option 
(assume-unchanged and skip-worktree bits) you choose there is one point 
to consider: The chosen bit will not be propagated by git push.

-- 
S pozdravem
Martin Bružina


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-20 16:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-20 16:06 Emphasize that assume-unchanged and skip-worktree bits are not propagated to origin with git push Martin Bruzina

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).