Git & GitHub

Rewriting history (git filter-repo)

Në shqip: Rishkrimi i historisë

ShpjegimiSQ

git filter-repo (ose BFG) heq një skedar nga e gjithë historia — p.sh. një skedar gjigant ose një sekret. Ndryshon të gjitha hash-et, prandaj të gjithë në ekip duhet të riklonojnë.

EnglishEN

git filter-repo (or BFG) removes a file from the entire history — e.g. a huge file or a secret. It changes every hash, so everyone on the team must re-clone.

Si ta mendosh

Si të ribotosh një libër pa një kapitull të caktuar.

Lexoje në anglisht

Like reprinting a book without a certain chapter.

Shembull kodibash

git filter-repo --path .env --invert-paths

Terma të lidhur