I am currently working on a project that has a directory with a lot of small files within it that don't change. I know that I can add it to the git ignore but I still want them in my repo. Will zipping the directory shorten the time it takes to pull/merge and if so are there any other ways to shorten the process?
1
There are 1 best solutions below
Related Questions in GIT
- how to get csv files using wget
- Some 'utf-8' codec can't decode byte
- Saving images with the HTML Alt text description rather than the file
- wget not displaying all website data
- Using curl with cookies (username / password)
- wget script with http get parameters
- My testing requirement is to try spoofing multiple IPs i.e. using X-Forwarded-For and X-Real both
- wget ssl alert handshake failure
- Issue with wget trying to get images from certain websites
- Getting Titles of images while using WGET
Related Questions in GITHUB
- how to get csv files using wget
- Some 'utf-8' codec can't decode byte
- Saving images with the HTML Alt text description rather than the file
- wget not displaying all website data
- Using curl with cookies (username / password)
- wget script with http get parameters
- My testing requirement is to try spoofing multiple IPs i.e. using X-Forwarded-For and X-Real both
- wget ssl alert handshake failure
- Issue with wget trying to get images from certain websites
- Getting Titles of images while using WGET
Related Questions in ZIP
- how to get csv files using wget
- Some 'utf-8' codec can't decode byte
- Saving images with the HTML Alt text description rather than the file
- wget not displaying all website data
- Using curl with cookies (username / password)
- wget script with http get parameters
- My testing requirement is to try spoofing multiple IPs i.e. using X-Forwarded-For and X-Real both
- wget ssl alert handshake failure
- Issue with wget trying to get images from certain websites
- Getting Titles of images while using WGET
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Git is fast enough.
If you want them in your repository - you will have to add, commit and push them once. If they don't change, they will never again be transferred and will NOT influence the pull and, moreover, merge time.
It is because git stores snapshots of files and not their diffs.
Say, you've got a file. It has sha1 of
abcdef123456
. Imagine a conversation between local and remote repos:First push:
Local: "I've got abcdef123456 here!"
Remote: "Please transfer it to me"
Next pushes Local: "I've got abcdef123456 here!"
Remote: "Heh, that's boring. I've got it already."