[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

Re: [git-users] Strict, domain-based read/write vs. read-only access.

2016-01-07 Thread David Barr
Hi, Magnus, Does it help to identify this as a policy requirement, not a technical one? Our security and executive groups require that the only way we add or modify code is within the DEV environment/subdomain/call it whatever you want. You MUST NOT add code to a repository from any other

Re: [git-users] Strict, domain-based read/write vs. read-only access.

2016-01-07 Thread David Barr
Hi, Magnus, The Enterprise I'm working at has separated its DEV, TEST, and PRODUCTION environments with firewalls. Code may be PUSHed to a Code Management System in DEV ONLY. In the TEST and PRODUCTION environments, the CMS repository MUST (cf. RFC-2119) be PULL ONLY. In proposing a CMS, I

Re: [git-users] ZIP Command not Found

2016-01-07 Thread Alian Xu
Thank you Paul. Yes, I have installed WinZip. I tried wzzip command(wzzip test.zip *.txt) but it does not work and only shows: WinZip(R) Command Line Support Add-On Version 3.2 (Build 8668) Copyright (c) 1991-2009 WinZip International LLC - All Rights Reserved I am not sure if something I missed

Re: [git-users] Multiple backup strategy & S3

2016-01-07 Thread Kai Hendry
On 8 January 2016 at 04:36, Charles Manning wrote: > Why not just use rsync? Thanks what {aws s3,s3cmd} sync does but it has a problem of trumping data. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To

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

2016-01-07 Thread Gergely Polonkai
Another solution could be running git-repack. This SO answer[1] has some nice details on it. Best, Gergely [1] http://stackoverflow.com/a/8638219 On 8 Jan 2016 02:29, "Steinar Bang" wrote: > > Gergely Polonkai : > > > You may want to play with gc.pruneexpire. From man

[git-users] Is it possible to edit unpublished commit?

2016-01-07 Thread Xi Shen
Hi, I know some tricks like "rebase" and "tree-filter" that can modify the commit history. I want know if I can also go back to history and edit the content. So when I push my changes, the history looks perfect :) Thanks, David -- Regards, David -- You received this message because you

[git-users] Re: Is it possible to edit unpublished commit?

2016-01-07 Thread Xi Shen
"git rebase -i" with "edit" command is to powerful to handle :) On Fri, Jan 8, 2016 at 2:36 PM Xi Shen wrote: > Hi, > > I know some tricks like "rebase" and "tree-filter" that can modify the > commit history. > > I want know if I can also go back to history and edit the

Re: [git-users] Strict, domain-based read/write vs. read-only access.

2016-01-07 Thread Maurizio Vitale
you can have multiple ssh credentials and unless users share the same home directory (and hence .ssh directory) you can still have different permissions "per domain" w/ gitolite. On Thu, Jan 7, 2016 at 6:17 AM, David Barr wrote: > Hi, Magnus, > > The Enterprise I'm

Re: [git-users] Multiple backup strategy & S3

2016-01-07 Thread Charles Manning
On Thu, Jan 7, 2016 at 2:51 PM, Kai Hendry wrote: > Hi guys, > > Like many of you I'm putty more and more precious things like photos into > git for safekeeping. > I've never heard of anyone using git for storing photos.It's like using a wrench as a hammer: it does the

Re: [git-users] Strict, domain-based read/write vs. read-only access.

2016-01-07 Thread Magnus Therning
David Barr writes: > Hi, Magnus, > > The Enterprise I'm working at has separated its DEV, TEST, and > PRODUCTION environments with firewalls. Ah, so by "environment" you mean network segment, or subdomain. > Code may be PUSHed to a Code Management System in DEV ONLY. In the > TEST and