IBitbucket: Cima ifolda kwimbali yeGit

Xa ubamba iGit kwiBitbucket, kukho umda onzima we-2 GB-ukuba oku kugqithisiwe, unokufikelela kuphela kwindawo yokugcina kuphela. Ukuthintela oku, umzekelo, ungasusa ngokuzithandela iifolda ezinkulu okanye iifayile kwifayile yakho. Kodwa nakwezinye iimeko (ukuba idatha yokungena ingene kwimbali okanye ii-node_modules zityibilikile zibuyele enkosini) kuya kufuneka uphinde usebenzise imbali yeGit, ngokuchasene nendalo yayo.


UBitbucket ubhale inqaku elineenkcukacha malunga noku uqobo. Ukuze siqhubeke nayo yonke into kwityala, siqala ngokwenza indawo yokugcina entsha:

Imbali ye-bitbucket icocekile

Emva koko sidibanisa indawo yokugcina kwifolda engenanto kumatshini wasekhaya:

6ab7686fc508ce87c52b10bb5d01ee51

Ngoku sakha iifolda ezimbini ezineefayile zomxholo ongacwangciswanga:

6ab7686fc508ce87c52b10bb5d01ee51

Ngoku sityhalela kwinkosi:

6ab7686fc508ce87c52b10bb5d01ee51

Ngoku siphantse safikelela kumda onzima we-2 GB kwiBitbucket:

Imbali ye-bitbucket icocekile

Singakujonga oku apha (jonga "ubungakanani bepakethi"):

6ab7686fc508ce87c52b10bb5d01ee51

Imbali ye-bitbucket icocekile

Umsebenzi ngoku kukususa ngokuzithandela "foo" kwindawo yokugcina ubuncinci kubungakanani bayo. Ukwenza oku, siqala ngokuhlela iNtloko yangoku kwaye sibhale ifolda kwi-gitignore:

6ab7686fc508ce87c52b10bb5d01ee51

Okokugqibela, sisusa ifolda ngoncedo lwe- BFG Repo Cleaner (i-BFG ifuna i- JRE yangoku kwinkqubo njengemfuneko yenkqubo):

6ab7686fc508ce87c52b10bb5d01ee51

Ngoku siyazibona iziphumo ekuhlaleni:

6ab7686fc508ce87c52b10bb5d01ee51

Imbali ye-bitbucket icocekile

Nangona kunjalo, ubungakanani bokugcina abukatshintshi kwiBitbucket kuba umqokeleli wenkunkuma akakagqitywa ukude kwaye i-bitbucket ayenzi "git gc" ngayo yonke into:

Imbali ye-bitbucket icocekile

Oku kukwangqinwa yinkxaso:

Imbali ye-bitbucket icocekile

Ke kungcono ukuthumela isicelo ngokuthe ngqo ku support@bitbucket.org ukuze usebenzise ngesandla "git gc" kwindawo yokugcina izinto. Emva kwexesha elifutshane oku kwenziwa neqela lenkxaso:

Imbali ye-bitbucket icocekile

Ukuba "utsha" uhambisa indawo yokugcina kwenye ikhomputha, yi-0.9 GB kuphela eya kuphelela kwidiski. Ukuba umntu unenguqulo ye-1.8 GB efumanekayo ekuhlaleni, i "git pull" elandelwa ngu "git gc" yanele.

Emva