github - Scope of gc prune and git reflog expire, and related config -


we using throwaway integration branches pushed, , later deleted , recreated. discarded branches leaving dangling commits , trees can view command: git fsck --unreachable --no-reflogs

i clean them with

git reflog expire --expire-unreachable=now --all git gc --prune=now 

or similar, want understand scope of these commands , related configuration first.

so specific questions:

  • so new clones lean, how can gc prune , clear reflogs, not locally on our remote repository hosted on github?
  • can set related git config items (e.g. gc.pruneexpire, gc.reflogexpire, gc.reflogexpireunreachable) github hosted repository?

p.s.: see here useful context: listing , deleting git commits under no branch (dangling?)


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -