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

Is there a cloning limit can be set on stash

Jijo John [DevOps Consultant] August 13, 2015

Is there any way to limit cloning size 1GB for users?

3 answers

0 votes
Johannes Kilian
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.
August 13, 2015

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 ....

  • this method is not configurable on stash server
  • has to be applied by each user during clone
  • has not a limitation in data amount ("clone less than 1 GB") but in history depth ("clone only the latest 3 commits")
0 votes
Adalberto Schneider
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 13, 2015
0 votes
GabrielleJ
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.
August 13, 2015

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?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events