Git is a distributed source control system.

learn more… | top users | synonyms

1
vote
1answer
349 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
306 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
527 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
432 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
570 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
699 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
820 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, ...
4
votes
4answers
3k 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
vote
1answer
333 views

Seeking Wordpress-Apache conf that allows for dynamic subdir-to-site creation

Seeking Wordpress-Apache conf that allows for dynamic subdir-to-site creation. Specifically, want to create any of these /var/www subdirs on the fly: /var/www/main /var/www/siterev1 ...
-1
votes
1answer
84 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
191 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 ...
10
votes
4answers
2k views

Deploying Files To Multiple Servers

We have a central repository of files in say server-1 at /srv/www. Then we have N number of servers as well. We want server-1 to be able to deploy its files in /srv/www to all servers as quickly and ...
1
vote
1answer
308 views

Git remote to remote

I'm trying to figure out how I can use git to deploy a site. There are 3 connections in theory: [local machine] My local machine for coding [gitolite server] Private repo hosting using Gitolite ...
0
votes
2answers
294 views

Setting up SVN server on Windows 7

Short My OS is: Windows 7 Ultimate and IDE is Netbeans. Want to work with 2-3 devs on PHP projects. After research I found that it's possible with GIT. Found this solution. But it's installing apache ...
1
vote
2answers
205 views

how to make chained ssh work with git

I am trying to get round a silly firewall issue. I am trying to chain ssh access to git through a proxy ssh: ~/git-chain: #!/bin/bash ssh hosticangetto ssh $* # End And then: $ export ...
1
vote
3answers
1k views

Setting up GIT on CentOS server

I'm trying to set up GIT on my home CentOS 6.2 server (I already have LAMP running on it). The only access that will be made to it is from the local network - or to be more precise, from my laptop ...
0
votes
1answer
333 views

Capistrano deployment to a VPS failing

I'm using Capistrano to deploy a Ruby on Rails app to a VPS running Ubuntu 11.10. However, whenever I run cap:deploy i get this error: cd: 1: can't cd to /var/www/appname/releases The VPS I'm using ...
1
vote
1answer
349 views

GIT push command is very slow on CentOS, Apache

I created GIT server on my CentOS with Apache. (push/pull are go trough http and Apache) I followed those instructions: http://www.jedi.be/blog/2009/05/06/8-ways-to-share-your-git-repository/ Push ...
0
votes
1answer
1k views

SSH/Git: Specify paths with hostname instead of IP

Alright, quick question. When SSHing to a server using the IP, I can also specify a path to use, such as: git clone ssh://git@127.0.0.1:/home/git/project.git SomeProject However, when using a ...
0
votes
1answer
142 views

What is the Difference between svn and git [closed]

What are the pros and cons of git and svn. We are suppose to use a subversion systems. Any body have a idea. Thanks in advance.
0
votes
1answer
331 views

Browse git repository over Webdav (debian)

I would like to be able to browse a (bare) git repository over Webdav. Note that I do not want to be able to push/pull over Webdav. Instead, I actually want to be able to browse through my files via ...
0
votes
1answer
271 views

Create link with right owner / group

I have a git-daemon accessed through ssh. All repositories are in /srv/git. I have some other projects saved on a exfat disk, so I want to create a symbolic link from that disk to /srv/git. For ...
0
votes
1answer
114 views

Managing multiple users for multiple sites in Ubuntu

For managing sites on my web server, I create a new user per site. They get a home directory where their public folder is located. From time to time I may be logging in as a site and would like to ...
0
votes
3answers
90 views

Remote git repositories

I really love git and now I have setup an remote repositorie. Thats pretty cool but I cant find the plain data like. My Idea was: local development > commit, commit, commit and if ready for the ...
0
votes
2answers
649 views

Is it safe to use Bitbucket as a remote for an /etc Git repo?

I'm worried about SSH private keys and such. I'm not quite sure what else is a security hazard but I'm sure there are many config files which should probably not be uploaded to a third-party website. ...
3
votes
1answer
1k views

Git/LDAP Accounts/Gitolite

I have relatively little knowledge about what exactly LDAP is and how it works except that I know I can use my LDAP account username/password to log into multiple linux servers. Right now we are ...
2
votes
1answer
163 views

Separate git accounts on linux server

I have a lot of git repositories on my linux (ubuntu) server. I access all of them with the Apache user www-data. This worked great in the past because I was the only web developer. Now I have ...
0
votes
1answer
306 views

Getting error installing Git on centos server

I am trying to install git on centos 5.5 and i am getting this error: git-email-1.7.7.3-1.w5.x86_64 from webtatic has depsolving problems --> Missing Dependency: perl(Net::SMTP::SSL) is needed ...
1
vote
0answers
171 views

Problems with umlauts and git-svn

I've got the following problem: I checked out an GIT-repository created by tortoise-git under windows. German umlauts like "öäü" are shown as \x-Codes under my linux. That's basically no problem ...
0
votes
1answer
122 views

Accessing git repo remotely (server setup)

I have a git repository in my ubuntu server, which I like to access from my macbook. I enabled ssh to ubuntu from my mac. Can somebody give how can I setup git so that I can work fron both system. My ...
0
votes
3answers
588 views

How do I configure a private remote git repository in a dedicated server?

I started using git very recently and still havent setup a remote repository before, so I am totally lost. This is my setup: I have a repository in my local machine, which I want to publish in our ...
10
votes
2answers
2k views

Which is better for website backup - rsync or git push

I run 2 LAMP web servers at different providers for disaster recovery purposes - a high powered live server, and a low powered backup server. Currently I rsync all the data from the live server to ...
1
vote
1answer
90 views

Git distributed workflow

We have a "central" git repo containing all sorts of conf files. We have 5 servers that have the repo cloned. I've cloned the repo on my local machine. I want to be able to make changes locally, ...
2
votes
1answer
376 views

Deploying git repo on production server without account password

What I would like to do How can I clone a git repository on my production server, without providing the account's password, and passphrase for the SSH key? Perhaps what I'm asking is not possible. ...
3
votes
1answer
289 views

Permissions per git repository?

I have set up a git server in windows using the apache http mod. Users come in through apache using their ldap credentials. This works great except all users have access to pull/push all ...
1
vote
0answers
1k views

git push over smart HTTP fails with 403

This has been driving me nuts. I'm running git 1.7.8.rc4 with Apache/2.2.14 on Lucid Ubuntu, and set up LDAP authentication. The authentication seems to be working fine, and i can pull, but i can't ...
41
votes
11answers
14k views

GIT as a backup tool (am I a silly person?)

So I was in the shower this morning thinking about stuff, and I had an idea which may be terrible or may be brilliant I'm not sure. On a server, install git cd / git init git add . git commit -a -m ...
1
vote
1answer
2k views

Permission error with git on linux with bare shared repo

I've got a bare central repo that has this option turned on: git config core.sharedRepository true For some reason, the other users on this CentOS machine that pulls/pushes from the central repo ...
3
votes
2answers
502 views

etckeeper implementation in subversion (SVN)

How to setup etckeeper in subversion (SVN).I get to know that etckeeper works with git , mercurial (hg) etc, but it doesn't works with subversion. I am stuck with this etckeeper implementation in ...
1
vote
2answers
112 views

Permissions in a multiuser Linux environment

This question has been asked many times, but I haven't found a solution for this type of permission. I have a VPS with multiple websites in chroot, each one running with a unique user, without root ...
8
votes
5answers
5k views

Can't install GIT on a CentOS 6.0 x64

I'm trying to install GIT by either RPM or YUM but i can't. I get the following error: error: Failed dependencies: libcrypto.so.10 is needed by git-1.7.1-2.el6.i686 libcurl.so.4 is ...
0
votes
1answer
204 views

Does ‘git push’ create a new SSH session?

I've set up a new EC2 instance with Heroku-like deploy. I followed this article cuppster.com/2011/05/12/diy-node-js-server-on-amazon-ec2/. My problem is... If I push to the server several times, CPU ...
0
votes
1answer
522 views

AuthzSVNAccessFile for git-http-backend?

I want to host some git-Repositories. Is it possible to setup them like SVN-Repos with a central ACL-File? (Have a look at AuthzSVNAccessFile-Directive for example) Thanks, Philipp
1
vote
1answer
2k views

I need to run a script to pull repo. from github without asking me a password

I just got a new server for my website, and I'm trying to create a trunk in a folder where i can pull data from github. That way I can easily get the latest version of the website, and copy the needed ...
2
votes
1answer
2k views

Error pushing to remote with git

I have a fresh Centos 6 server stood up and I have installed git version 1.7.1 through yum. I am using the smart http method through apache for access. When I try to push to the remote server this ...
4
votes
4answers
5k views

Howto Nginx + git-http-backend + fcgiwrap (Debian Squeeze)

I am trying to setup git-http-backend with Nginx but after 24 hours wasting time and reading everything I could I think this config should work but doesn't. server { listen 80; server_name ...
2
votes
2answers
339 views

Managing nginx configurations

My goal is to be able to update my server configurations (eg, nginx) quickly and easily using version control (eg, git). One requirement I had in mind was to have the configurations stored inside the ...
1
vote
2answers
1k views

Install gitolite without needing public key(s)?

All of our developers run Windows workstations. We run a Linux development server. I've been wanting to try out running our own git server on the dev server. After some research I've settled on ...
0
votes
3answers
372 views

Git: push via ssh to a root owned repository with ssh root logins disabled

is that even possible? Summary, i'm running puppet master on a server and ideally we want root logins via ssh disabled, we want to force all access via sudo if root access required however we have ...