Git is a distributed source control system.

learn more… | top users | synonyms

1
vote
1answer
738 views

Multiple git repos in plesk virtual hosts

Each plesk vhost only has one user access that httpdocs directory. I want to manage a whole bunch of separate virtual hosts using Git. Does this mean installing a separate Git repository with a ...
1
vote
1answer
905 views

Installing gitlab on Debian 6.0.5

I am using following directions in an attempt to install gitlab on Debian 6.0.5 https://github.com/gitlabhq/gitlabhq/blob/stable/doc/installation.md I am getting an error when i'm running following ...
2
votes
2answers
174 views

Using GIT to track changes in MDT 2012

Can I use SVN or GIT to handle version control and tracking changes for deployments built in MDT 2010/Deployment Workbench ?
0
votes
3answers
7k views

Root only has read permission for /etc/ssh/sshd_config?

I'm trying to edit my /etc/ssh/sshd_config file as per these instructions to properly set up git on my Synology NAS: http://www.wonko.de/2010/04/set-up-git-on-synology-nas.html (step 6) However, when ...
6
votes
2answers
4k views

Git push over http (using git-http-backend) and Apache is not working

I have desperately been trying to get push for git working through the "smart-http" mode using git-http-backend. However after many hours of testing and troubleshooting, I am still left with error: ...
1
vote
2answers
903 views

Be able to pull from git without password on login or just run keychain which does it for me

I need to pull from Github all the time and I have a passphrase, but it's a pain, so I typically run... ssh-agent bash ssh-add ~/.ssh/id_rsa <prompt and give passphrase> git pull ... And ...
0
votes
1answer
406 views

Error with git archive --remote <repo>

I installed a Git server with gitosis in Ubuntu 4.10 64 bits. The server works OK, but a user has asked me to run the command git archive --remote . http://linux.die.net/man/1/git-archive This ...
9
votes
2answers
2k views

Encrypt git repository on server (safe against theft of physical hardware)

I have a production server (Ubuntu, running 24/7) with a git repository and some client computers each with a working copy of this repository. In the client computers, simply using home folder ...
1
vote
0answers
319 views

Gitosis asking for password

I have a QNAP NAS where I installed Gitosis through Optware ipkg and it works so far. It's running under the user 'git'. The admin repo was initialized with the public key of my client machine like ...
2
votes
1answer
126 views

Too many git pulls at once don't work

I have a deploy script where I want all of my webservers to simultaneously perform a git pull from the same place. When only two servers do the pull simultaneously, there are no problems. Once I have ...
-2
votes
1answer
363 views

GIT ubuntu 12.04 [closed]

I was wondering if anyone has installed git and gitosis on ubuntu 12.04 if not what is the best version to go for on the new version of ubuntu? Any recommendations on the best way to set up GIT are ...
6
votes
2answers
217 views

Making ssh easier for our Windows user community

I work in an academic environment where we are providing a variety of ssh-accessible compute resources. We also provide git repository hosting, and we require ssh for read/write access to the ...
3
votes
2answers
526 views

deploy git project and permission issue

I have project hosted with gitolite on my own server, and I would like to deploy the whole project from gitolite bare repository to apache accessible place, by post-receive hook. I have next hook ...
1
vote
3answers
281 views

Accessing LAN IP address from outside

I have an SCM server connected to my office LAN which runs the SCM tools like git, svn, etc. The office router has been configured with 'Port Forwarding' so that the SCM server can be accessed through ...
2
votes
2answers
2k views

Can I deploy via Git to Rackspace Cloud Sites?

I was wondering if anyone knows of a way to deploy to Rackspace Cloud Sites via Git-push? I contacted the Rackspace support and all they can tell me is that I might be able to as long as I don't need ...
0
votes
1answer
416 views

How do I get duo_security and git-shell to work together via SSH

I've configured my sshd to run duo security via the FORCE_COMMAND option in the ssh config. That means that every time I login via ssh the duo security checks kick in which normally is a good thing. ...
-2
votes
2answers
307 views

How do I manage ssh keys for multi-user machines?

I've got a situation where 40 users are going to come in and use fresh machines to work on git repos and push them to github. I'm trying to think of the simplest way to handle ssh keys. I see the ...
4
votes
3answers
516 views

Should I avoid using git to track individual files with separate history, such as in /var/named?

In January 2012 Randal Schwartz gave a talk called Introduction to Git that I very much enjoyed, but I was left confused about his admonition not to use git to track individual files with unrelated or ...
2
votes
3answers
500 views

git repo for dotfiles - clone to homefolder

I'm learning git, and the test case I'm using it for is keeping a repo of my linux profile settings (.bashrc .profile .tmux.conf etc) on my main machine, the repo is created at the home folder: ...
1
vote
1answer
189 views

Msysgit GPG error during commit signing

I'm getting the following error on Windows with msysgit. Doesn't matter whether or not I am doing it from the command prompt or the BASH bundled with Git: gpg: error loading `iconv.dll': The ...
1
vote
2answers
2k views

Linux user group configuration for Git bare repository

I'm using a Ubuntu box to host my bare Git repositories for developers to work off. At the moment I'm creating a user account for each developer on the box because it doubles as a filestore and local ...
1
vote
3answers
141 views

Disabling `git commit` based on server time

Is there a way to disable git commit when the server time reaches 11am and re-enable when it reaches 2pm? Or disable git push to all but a select number of users
5
votes
1answer
4k views

Installing gitosis and closed port?

I'm trying to install gitosis on a Server (hosted by OVH and running Ubuntu server 11.04). I've done it a few times and never had any problems. But this time I have something very wired when I simply ...
5
votes
1answer
4k views

git on HTTP with gitolite and nginx

I am trying to setup a server where my git repo would be accessible with HTTP(S). I am using gitolite and nginx (and gitlab for web interface but I doubt it makes any difference). I have searched ...
1
vote
2answers
643 views

loacationmatch with git-recieve-pack not working

I am trying to set up git-http-backend on my apache2 server. Right now it is working so far with suexec and a wrapper and all the stuff but without restrictions. I can pull and push. Now I wanted to ...
0
votes
1answer
819 views

Solaris 10 opencsw git package issue with bitbucket git hosting

Has anyone tried using `git' from opencsw package in order to work with bitbucket source hosting service (under solaris10)? I tried to use git as the bitbucket documentation explains, and - under ...
0
votes
1answer
283 views

Using git on amazon ec2

Hi i have been exploring around ec2. What i have come across is elastic beanstalk allows users to maintain their applications without much overhead of the scalability. But there are some limitations ...
4
votes
1answer
957 views

beanstalk using php-git on windows client

I am trying to install beanstalk for php using git. I am using a Windows Client machine. I am done with the prerequisite installations , credentials setup. I am following the link ...
2
votes
1answer
389 views

Seeking clean resolution for zombie who caused by git fetch / ubuntu motd

I have jenkins and gitosis running on the same [Ubuntu 10.04] server. Jenkins fetches git commits from a repo served by gitosis (also running on the same server). Many repos, actually, since there are ...
1
vote
2answers
570 views

From SVN to GIT: Something similar to authz?

We currently have an SVN repository setup and want to switch over to GIT, but we're currently not sure what exact GIT setup will work for us. We're currently using SVN (w/ Authz) + Apache (w/ WebDAV ...
5
votes
3answers
6k views

Git fails to push with error 'out of memory'

I'm using gitosis on a server that has a low amount of memory, specifically around 512 MB. When I try to push a large folder (happens to be a backup from an android phone), I get: ...
1
vote
2answers
1k views

from svn to git (+ LDAP + password-less updates + passworded access control)

We have an SVN setup and there are some things we dislike about it and some things we like about it. We want to move to git, but we're not sure exactly what setup will work for us. We're currently ...
1
vote
2answers
143 views

Multiple developers with a single Git account?

I've just joined an organisation that is looking to move to Git - Hooray! However, they want all the developers to commit using same user account - Boo! I'm having a hard time convincing them that ...
2
votes
1answer
2k views

git pull-push giving error

Hi i cloned a local repository on another server http://localipaddress/git/project . It created an empty repository. When i tried to pull from the repository, it gave me an error Your ...
3
votes
1answer
1k views

UFW/IPTables: how to securely allow authenticated git access with github

This is how I setup my iptables with UFW: sudo ufw default deny incoming (deny all incoming) sudo ufw default deny outgoing (deny all outgoing) sudo ufw allow out 53 (accept outgoing DNS traffic, ...
3
votes
2answers
454 views

Large repositores (hg or git)

I'd like to use hg or git for repo with size in about 5gb. Are they work proper on repo with such a big size?
3
votes
2answers
911 views

What IIS authentication method to use with Git server hosted on IIS?

I have setup a WebGitNet MVC site under IIS on Windows 7 Pro 64-bit (not joined to a domain). WebGit .NET: IIS Hosting for Git "Smart HTTP" using ASP.NET MVC The code has no authentication ...
2
votes
0answers
365 views

Intermittently git push hangs over ssh to gitosis

I have an intermittent problem pushing to my git (gitosis) repository. Most of the time it works fine but when it doesn't work the push hangs. It seems to have done the majority of what it wants to ...
3
votes
1answer
1k views

How do I change permissions and ownership after git-pull, to match folder?

The company I work for is using Git for deployment and because of this it overwrites specific permissions and ownerships. What is the best way to make sure that the folder ownerships and permissions ...
1
vote
1answer
418 views

Slow git on Mac OS X server: can it be helped?

We've been running git over SSH on our Mac OS X server. (It happens to be a Mini.) Problem is, it's frightfully slow. We often see speeds under 100KiB/s for cloning repositories from this server, and ...
2
votes
1answer
325 views

Syntax check cfengine files before updating git repository

I have my cfengine (2 and 3) files in a git repository fronted by gitolite. Users of this repo have a pre-commit hook that will perform syntax/promise checks on the files as needed. This works fine. ...
10
votes
1answer
548 views

Can a very large /etc/hosts.deny slow down SSH connections?

I've been using denyhosts for a while and I noticed my /etc/hosts.deny is getting rather large. Denyhosts adds IPs to /etc/hosts.deny, and my denyhosts is configured to never purge IPs. $ wc -l ...
0
votes
1answer
465 views

How do I deploy a public git repo to a hosted solution via command line?

I am using a personal project as practice for some of the more advanced things we're doing at work. One of the things I want to learn to do is to publish a project managed in a public git repo ...
1
vote
2answers
831 views

Standard Location for Git Repository on Ubuntu 11

What is the proper location for storing a central git repository on an Ubuntu 11.04 server? I read this post and there appears to be conflicting information. This is related to www, but the idea is ...
1
vote
2answers
837 views

Moving a git server: should I make repos bare?

I'm pulling a bunch of company git repositories from an older host to our company git server. I started by just git clone-ing the old repos into the repositories directory on the new server. Soon ...
12
votes
2answers
852 views

git, nagios and hooks, corrupted git repo

Background We're using nagios to monitor our infrastructure. We don't have the nagios configs under version control at the moment, and there are two of us that manage nagios configuration. As such, ...
5
votes
4answers
4k views

Running git pull from a php script

I was trying the Perfect Workflow, with Git, GitHub, and SSH, but it seems i can't run git pull. I've tried git status and it's fine. When i git pull 2>&1 i get: error: cannot open ...
-1
votes
1answer
89 views

Scripting git commands with Python

Is there any way to pass the username and password to a git command so I can script it through Python? I understand the password will be in cleartext but for my application it is not a problem.
0
votes
1answer
56 views

how safe are FS recovery operations?

I just needed to do a recovery of a vserver after a failed update. Because the scope of the affected files wasn't exactly known, I completely restored most directories, except /home which was not ...
3
votes
1answer
197 views

What are the dangerous operations that need to be prohibited on a hosted git repository?

I am looking into the tools neccessary to give other people write access to a git repository. I understand that git repositories are accessed using SSH with a locked-in command like gitosis or ...