How to git clone --bare only one branch and update easily

435 Views Asked by At

I have a big web app project with hundreds of commits and multiple branches.

I want to have a test-server with very limited space that only needs to be able to download the last content of one branch to READ.

Is git clone --bare <url> --branch <branch> --single-branch the solution to my needs?

The problem I see here is that I cannot update easy the content as git pull will not work.

0

There are 0 best solutions below