[git-users] Re: 'git submodule' in hook causes remote: fatal: Not a git repository: '.'

2014-04-14 Thread Matt Alexander
Here's the solution: http://stackoverflow.com/questions/4043609/getting-fatal-not-a-git-repository-when-using-post-update-hook-to-execut #!/bin/sh cd /path/to/working-copy/ || exit unset GIT_DIR git pull repo branch On Monday, April 14, 2014 5:17:45 PM UTC-5, Matt Alexander wrote: > > I'm havin

[git-users] Re: 'git submodule' in hook causes remote: fatal: Not a git repository: '.'

2014-04-14 Thread Matt Alexander
I'm having this same problem. Can't figure it out. On Tuesday, April 1, 2014 10:20:38 AM UTC-5, Philip wrote: > > I tried to update a hook today and ran into some trouble: > https://gist.github.com/pamolloy/9915782 > > I can manually execute each command in the hook without a problem. But > when

[git-users] Re: Using git for multiple projects

2014-04-14 Thread Michael Laird
If I understand your issue correctly, here is an article with a terrific graphic that shows how various feature modules can be brought into a product release. Your widespread files, with their own enhancement paths, are the feature lines in the graphic. http://nvie.com/posts/a-successful-git-b

[git-users] Re: a basic thing I don't understand about git and Windows7 directories

2014-04-14 Thread Michael Laird
For anyone else who ends up here because they can't get a clone into the htdocs directory of Apache, the problem I had was that Apache is in the Windows7 Program Files directory. This directory is a system directory and requires Admin permission to add/modify files. Hence, the clone fails, and

Re: [git-users] GIT check out..Very urgent..!!!

2014-04-14 Thread Konstantin Khomoutov
On Mon, 14 Apr 2014 09:53:56 -0700 (PDT) srinath0...@gmail.com wrote: > I'm trying to checkout a specific file from GIT using Jenkins, I > didn't any way how to get a specific file form GIT. Impossible. The best you can get is to do a shallow clone (see the description of the "--depth" command-l

[git-users] GIT check out..Very urgent..!!!

2014-04-14 Thread srinath0805
Hi Folks, I'm new to GIT. I'm trying to checkout a specific file from GIT using Jenkins, I didn't any way how to get a specific file form GIT. Could any one tel how to do this by using jenkins or GIT command. we are accesing git through STASH my repository is like *ssh://g...@stash.xyz.com: