Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Pushing Zipped files into bitbucket

Hi all,

 

New to the community.

I have a folder that contains number of files that take lot of space.

These files are changed and push everyday as part of the development work.

Is that a good idea to zip these files before I push them back to external repo?

And is zipping safe for files data?

Also, when I pull the external repo to my machine, will the zipped files that were pushed be in the same state?

 

Thanks

1 answer

1 accepted

0 votes
Answer accepted
Erez Maadani
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Oct 18, 2022

Hey @Ashalina Z

I recommend you have a look at the git-LFS feature: https://support.atlassian.com/bitbucket-cloud/docs/use-git-lfs-with-bitbucket/

The zipping depends on the file types and used algorithm: text files size can be reduced significantly while binaries usually don't.  

Zipping is usually safe, but you should still check all your envs: dev, CI, CD, etc'. Some envs might have different zip clients/versions which might affect the zip/unzipping of the files.

My personal recommendation: don't push large files to your repo without using git-lfs. These files will be kept in your history even after you delete them which will quickly inflate your repo size and will cause issues when cloning the repo. If you don't want to work with git-lfs, consider using DB or uploading the files to binary repository.  

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events