Is it possible to make a git remote pack its repository on every push?
I have tried setting gc.auto to 1 on both the remote and the clients,
but so far no push seems to have packed anything.
Do I need to create a push hook on the remote to make it pack?
The reason for this is that I have several
> Igor Deyashkin :
> What are you expect from git gc in your case?
I didn't *expect* anyhing, but what I *hoped* for was a way for git to
compress the repository as much as it could on each push.
Ie. compress it as much as what I get when I cd into the bare repo on
the remote and do a
git g
> mike :
> I have had a branch, feature_xyz, for a long time ( yes I know I should not
> but it was not my call). Problem is I have not updated it with changes from
> master. So I started to do a regular rebase ( i want to keep history):
> git fetch origin master
> git rebase origin/master
> Gergely Polonkai :
> You may want to play with gc.pruneexpire. From man git-config:
>gc.pruneexpire
>When git gc is run, it will call prune --expire 2.weeks.ago.
>Override the grace period with this config variable. The value
>"now" may be used to
I upgraded to windows git 2.11.0 yesterday, and then it startet
prompting me for passwords when pushing to github.
The release notes only have the following line under "Known issues":
- cURL uses $HOME/_netrc instead of $HOME/.netrc.
(and I knew that... that's why I have _netrc instead of .netrc
> Uwe Brauer :
> And he emphasizing DVCS, but I am wondering, how was this
> supposed to work in 2007. Github/gitlab/bitbucket did not exist, only
> sourceforge if I remember correctly.
> Git is only a client software, as far as I know.
> Anybody knows how this was done in 2007?
Similar to