S
S
Sergey2019-07-04 20:58:19
git
Sergey, 2019-07-04 20:58:19

Is there a GIT client with limited storage depth?

Good afternoon.
There was a need to synchronize a folder with data on many machines. For this task, it was decided to use a git repository, but it is redundant to store a complete commit history on each machine.
Ideally, the last 2 are needed: HEAD and HEAD-1, so that when you roll back changes, you don’t have to download everything again. Tell me, are there GIT clients under windows that can only store the last few commits? Or do you have to code yourself?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
SagePtr, 2019-07-04
@SagePtr

Git is not designed for this, alas.

V
Vitsliputsli, 2019-07-04
@Vitsliputsli

Look in the wrong place, git is version control, and you need a backup.

Y
YaDr, 2019-07-07
@YaDr

git clone --depth 1 https://github.com/jquery/jquery.git jquery
Clone the data to the latest commit.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question