Is there any way to limit cloning size 1GB for users?
Cloning a git repository means getting the whole git repository to your local. If it's more than 1GB, it's more than 1GB. It's not partial. There is git submodules but I'm not really sure if that's what you want.
Why limit to 1GB?
Hi Jijo,
This documentation may help you.
https://confluence.atlassian.com/display/STASH/Stash+config+properties
If the amount of transferred data is the problem, you can clone your repository as a shallow clone. This especially makes sense when your repository has a very long history: doing a shallow clone only clones the history from a given point to the latest commit, all history before this point is NOT cloned
See:
But ....
It looks like you're new here. Sign in or register to get started.