[git-users] How to make pack remote repository on every push?

2015-07-07 Thread Steinar Bang
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

[git-users] Re: How to make pack remote repository on every push?

2015-11-20 Thread Steinar Bang
> 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

[git-users] Re: How to handle a longrunning branch

2015-11-20 Thread Steinar Bang
> 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

[git-users] Re: How to make pack remote repository on every push?

2016-01-07 Thread Steinar Bang
> 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

[git-users] Windows git 2.11.0 no longer uses $HOME/_netrc

2017-01-21 Thread Steinar Bang
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

[git-users] Re: DCSV in 2007: Linus Thorvalds talk

2023-04-29 Thread Steinar Bang
> 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