daily pastebin goal


a guest Mar 20th, 2017 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. git-update-index --[no-]assume-unchanged
  2. When this flag is specified, the object names recorded for the paths are not updated.
  3. Instead, this option sets/unsets the "assume unchanged" bit for the paths. When the "assume unchanged" bit is on,
  4. the user promises not to change the file and allows Git to assume that the working tree file matches what is recorded in the index.
  5. If you want to change the working tree file, you need to unset the bit to tell Git. This is sometimes helpful when working with a
  6. big project on a filesystem that has very slow lstat(2) system call (e.g. cifs).
  8. Git will fail (gracefully) in case it needs to modify this file in the index e.g. when merging in a commit; thus,
  9. in case the assumed-untracked file is changed upstream, you will need to handle the situation manually.
RAW Paste Data