Answer the question
In order to leave comments, you need to log in
Is there a "small" version of the GIT client?
I wanted to find a small portable version of the GIT client, but all of them are kind of monstrous, over400MB when unpacking and 100500 files, I need a "small" version that can only git clone and git pull. Is there such a thing in nature or are all versions of such monsters?
ps IMHO 400 mb for a utility that even does not have a GUI like that over dofiga.
Answer the question
In order to leave comments, you need to log in
For those who need it, I didn’t find anything suitable, so I wrote my own with blackjack and only 1.5mb in size. You can get the source here https://github.com/vpuhoff/GitRepoAutoUpdater/
Compiled version for lazy people here https://github.com/vpuhoff/GitRepoAutoUpdater/blob...
Use like this: gitnano [urlgit] [dirname]
For example
gitnano. exe https://github.com/vpuhoff/GitNanoTestRepo.git GitNanoTestRepo
If the application finds an already downloaded repository, it will try to Pull, if something goes wrong (conflicts there or something else, then it will simply clone again and replace the old folder with the new one.
Naturally, all changes in the old one will be erased.For auto-updating applications, that's it.
As you have already been answered above, the whole "problem" is that, in view of the lack (until recently) of a normal terminal and (still) a normal package manager, git clients under Windows (by the way, it would be nice if you pointed out that we are talking about Windows in the title of the question) contain not only the git client itself, but also a GUI shell on it and a bunch of other things.
Wherein,
$ ls -l /var/portage/packages/dev-vcs/git-2.9.3.tbz2
-rw-r--r-- 1 root root 11M авг 17 01:22 /var/portage/packages/dev-vcs/git-2.9.3.tbz2
$ ls -l /usr/bin/git
-rwxr-xr-x 117 root root 1,9M сен 6 11:48 /usr/bin/git
$ ls -l /usr/lib/libgit2.so.0.24.0
-rwxr-xr-x 1 root root 906K авг 10 14:10 /usr/lib/libgit2.so.0.24.0
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question