[git-users] How to define commit policy

2011-08-17 Thread Pankaj Gupta
When user commit in git repo. we would like certain checks to be done.
How can that be achieved.
Is there a manual which talks about that?

P

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.



Re: [git-users] Storage of hooks

2012-08-16 Thread Pankaj Gupta
Not sure how adding hook to repo will help. IMO using templates is a good
option.

you may want to create a template directory with all the standard
configuration and ask everyone to git init using this argument..

--template=template_directory
  Specify the directory from which templates will be used. (See
the TEMPLATE DIRECTORY section below.)

Personally i prefer setting environment variable GIT_TEMPLATE_DIR as the
environment variable for everyone on that project.

-Pankaj

On Thu, Aug 16, 2012 at 9:55 PM, Bryce Verdier bryceverd...@gmail.comwrote:

 Hi all,

 I was just curious if anyone is aware of best practices for sharing git
 hooks within a project.

 For example, say I wanted everyone to use the same pre-commit hook, would
 I just add it to the repo?

 Thanks in advance,
 Bryce

 --
 You received this message because you are subscribed to the Google Groups
 Git for human beings group.
 To post to this group, send email to git-users@googlegroups.com.
 To unsubscribe from this group, send email to git-users+unsubscribe@**
 googlegroups.com git-users%2bunsubscr...@googlegroups.com.
 For more options, visit this group at http://groups.google.com/**
 group/git-users?hl=en http://groups.google.com/group/git-users?hl=en.



-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.



Re: [git-users] Re: Full Backup - Best Practice

2012-08-17 Thread Pankaj Gupta
i would prefer git bundle create backup file --all --remotes

To unbundle use : git clone backup file to clone from it.

i also liked git bundle verify to verify the bundle.

-Pankaj

On Fri, Aug 17, 2012 at 2:32 PM, Thomas Ferris Nicolaisen
tfn...@gmail.comwrote:

 On Friday, August 17, 2012 10:52:54 AM UTC+2, Michal Idziorek wrote:

 Hello,

 What would be the most elegant way to fully backup a bare git repository.

 Would the following approach work fine?

 tar -cf repository.tar repository/

 I wonder what happens if the repository is accessed during the backup?


 Safest way I guess is to clone it, as this will ensure consistency.

 If you clone it locally, you probably better use the --no-hardlink option
 to make sure it's a proper copy.

 --
 You received this message because you are subscribed to the Google Groups
 Git for human beings group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/git-users/-/Nt8ocMwAch0J.

 To post to this group, send email to git-users@googlegroups.com.
 To unsubscribe from this group, send email to
 git-users+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/git-users?hl=en.


-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.



Re: [git-users] execute hooks for submodules from global templates

2012-08-17 Thread Pankaj Gupta
Not sure if i understood the problem...

did you use this command to clone:

git clone --template=templatedir --recursive-submodules sourcerepo

or something else? please share the exact command..

-Pankaj

On Fri, Aug 17, 2012 at 2:20 PM, Fred fredgarlo...@googlemail.com wrote:

 Hello,

 I've defined a pre-commit hook in ~/.git_templates directory. It works
 great for all my git projects, except for submodules. If i do a commit in
 submodule directory pre-commit hook ist not executed. Is there a workaround?

 Fred

 --
 You received this message because you are subscribed to the Google Groups
 Git for human beings group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/git-users/-/XrjPwsjJ0C4J.
 To post to this group, send email to git-users@googlegroups.com.
 To unsubscribe from this group, send email to
 git-users+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/git-users?hl=en.


-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.



[git-users] CM Synergy to Git conversion utility

2013-10-06 Thread Pankaj Gupta
Hi,

I'm looking for a CM synergy to GIT conversion utility. 

Once i know all available utilities in market, i shall look at which one suits 
best. Currently i know if PySynergy (https://github.com/emanuelez/PySynergy) 
but did not really use it.

Thanks for help,
-Pankaj

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.