Git is a distributed source control system.

learn more… | top users | synonyms

13
votes
5answers
2k views

Git commit auditing

I have a git server running over ssh and each user has a unix account on the system. Given that two users have access to a repo, how can I be sure which user performed which commit, since the commit ...
2
votes
2answers
92 views

How to keep track of the serverconfiguration: keep entire “/etc” in git

I want to keep my whole /etc folder in a git repository to track unauthorised changes by intruders and find out mistakes I could have done myself. What would be the right way to achieve this?
11
votes
2answers
7k views

How to uninstall git installed from the source? [closed]

I installed the git using this article. Now I want to uninstall the git. How to do it?
0
votes
1answer
27 views

Is it possible to workaround the maxlist setting in proftp?

I help admin a website which runs on a shared host. The host uses ProFTP and is using the maxlist directive to limit the number of items returned in a directory listing. One other thing to note is ...
3
votes
3answers
4k views

ec2-user password for running sudo -H -u

I have to run this command to initialize gitosis: sudo -H -u git gitosis-init < /home/ec2-user/id_rsa.pub But that asks me for a password for ec2-user: $ sudo -H -u git gitosis-init < id_rsa....
2
votes
2answers
220 views

GIT and Django Projects

I have two servers, a Dev server and a Production server. The Production server runs a live Django site, while the Dev server has a copy of the Django project. I use the Dev server to work on the ...
1
vote
1answer
410 views

Gitolite w. Gitweb and Wildcard Repos

with a gitolite configuration like this: repo    users/CREATOR/.+ C       =   @defaultgroup RW+D    =   CREATOR RWD     =   @defaultgroup the users of our ...
1
vote
3answers
1k views

Add entire 300 GB filesystem to Git Annex repository?

By default, I get an error that I have too many open files from the process. If I lift the limit manually, I get an error that I'm out of memory. For whatever reason, it seems that Git Annex in its ...
5
votes
1answer
107 views

Compliance in DVCS administration at an enterprise context, what to expect from a transition from a CVCS (Perforce)?

I work in a big multinational company as a software engineer and I'm currently holding a very nice conversation with IT and other developers with regards to adopting a DVCS (Mercurial and/or Git). ...
1
vote
1answer
124 views

Gitolite SSH URL Format

So I got gitolite set up. Simple. But there is one issue I am having. The SSH urls follow the format of git@host:repo. I'm used to Bitbucket / Github where the urls follow the format of git@host:user/...
4
votes
2answers
4k views

Moving Gitlab and Gitolite server to another machine

Now, I have gitlab and gitolite running on my ubuntu server. However, this server is too slow and my company wish to move the server to another machine. Are there any way to move gitlab and gitolite ...
1
vote
1answer
836 views

CentOs 6.3 can't install Git

I am trying to install git on an OpenVZ container using the CentOs 6.3 precreated template. When I try the command line yum install git I get the message: Loaded plugins: fastestmirror Loading ...
1
vote
0answers
160 views

Limiting user access to local Gitorious repository

I have installed and configured in private server a local git repository using Gitorious. The problem I am facing is that when I set up a new Gitorious project and limit read access permissions to ...
4
votes
1answer
904 views

How to SSH gate forwarding git user to gitserver?

Im trying to set up ssh/git access through a ssh gate but googleing has come up empty. Basically I want any connection to my ssh gate from the user git to be forwarded to my ssh server so that pushes ...
0
votes
1answer
709 views

What unblocked ports are necessary for github to work? [closed]

My work has blocked github. Attempting to pull from a github repo produces this message: ssh: connect to host github.com port 22: Operation timed out Does this mean only port 22 needs to be ...
3
votes
2answers
895 views

How to put FreeBSD configuration under Revision Control?

I heard once that in Linux it's possible to put whole /etc/ directory into repository. In fact i already done too much crap on server and I quite disoriented what exactly is setup in there at all. ...
1
vote
0answers
666 views

Apache ScriptAlias and access error?

First of all after much pain i figured out how to make it work in Apache 2.4 windowz. Here is my configuration that seems to work successfully for git clone and push and everything. Problem First of ...
4
votes
1answer
289 views

AD GIT SELinux RHEL 6 : Can not get SELinux to allow connetion to git

I have a problem with SELinux! I have installed git on Red Hat Enterprise 6 with AD group control and SSL Cert . Everything works fine if I do setenforce 0 ( set SELinux in detection only mode ) or ...
1
vote
0answers
950 views

Gitlab workflow and configuration for users

Context / Information I installed gitlab on ubuntu 12.04 as described on this official page: https://github.com/gitlabhq/gitlabhq/blob/stable/doc/installation.md After I installed, I was able to ...
2
votes
1answer
734 views

How to globally limit memory usage of git

I have a Virtual Private Server where all my products' git repositories are. The problem is that while I fetch from it, the VPS dies out of memory. So I have to limit the memory usage. I know how to ...
1
vote
1answer
76 views

disable viewgit download option

I installed the web browsing interface viewgit on my server, in order to manage my git repositories. Everything works pretty well, but I bothered by the download option of every file. Is there a ...
4
votes
2answers
6k views

GitLab post-receive hook not firing

Apologies if this isn't the right stackexchange. I have a GitLab install. It was installed over the top of a gitolite install that was only a few days old, and I assume this non-standard setup is at ...
9
votes
2answers
22k views

How can I install git on RHEL 6?

I'm trying to install Git on a RHEL6 development server, I have experience with Ubuntu but this is my first time working with RHEL (I'm a developer trying to fill in for a recently departed Linux ...
6
votes
1answer
2k views

Automatically sign all commits with git [closed]

With git 1.7.9, it's possible to sign a commit with the -S option. Is it possible to set it default through git config --global? So instead of git commit -S -m 'Commit message', it would be just git ...
4
votes
2answers
3k views

Error authenticating git repository with Redmine

I've setup Redmine 2.1 on my Debian Squeeze server following this Tutorial HowTo configure Redmine for advanced git integration (I tried to use the grack path). Redmine server is running properly, but ...
28
votes
7answers
11k views

Where's the conventional place to store git repositories in a linux file system tree?

If I make an analogy with the hosting of a web server, I would say that git's data should be in /var/git, so my git repository would be in /var/git/myrepo Q: Is that the right guess ?
1
vote
1answer
812 views

Git apache : unable to push via http [closed]

I have to setup a server which can allow http vcs management (such as git and svn). svn support works well, but I have some trouble with git. Actual configuration: CentOS 5 Apache 2.2.8 Git 1.7.4.1 ...
1
vote
2answers
1k views

Gitolite and Gitlab - How the `www-data` user can checkout?

I have just installed Gitolite and Gitlab and I am very happy with it. Everything works fine so far. I can create repos, push to them, clone them on other clients on the network. Great! But now I ...
16
votes
2answers
7k views

What are the pros and cons of SSH and HTTP for a git server?

I want to setup a git server. I have found several how-to's, well detailed. Some describe the installation for a git-server accessible thru Ssh, while others, accessible thru HTTP. ( Others even ...
1
vote
1answer
35 views

change gitolite from manual installation to package

I want to change my manually installed gitolite to the package installation, because it's easier to updates. How can I do that, without loosing my repositories? / How can I backup my repositories, ...
3
votes
2answers
246 views

Installing Git on Ubuntu 12.04

I installed git with gitolite on my vserver using this tutorial. But I've got a problem to clone the gitolite-admin repo to my computer. The user is created with the option --disabled-password But ...
2
votes
2answers
702 views

Git branch and subdomain

Well, this is an idea that came to my mind a couple days ago and I could figured out how to do it (and even if it would be possible). My idea would displaying a different branch when you access the ...
4
votes
3answers
5k views

SSH does not allow the use of a key with group readable permissions

I have a development git server that deploys to a live server when the live branch is pushed to. Every user has their own login and therefore the post-receive hook which does the live deployment is ...
3
votes
1answer
3k views

Missing Dependency: perl(YAML::Any)

I have a problem with git, when I run yum upgrade on a centos5 server. yum upgrade output: Resolving Dependencies --> Running transaction check ---> Package git.x86_64 0:1.7.11.3-1.el5.rf ...
-1
votes
1answer
645 views

how to set up a git repository which can be accessed by network in ubuntu 12.10

Now we want to set up a private git repository in the ubuntu 12.10,then other developments can access it through the local network. Now I just can create a repository use git init,for example: cd ...
0
votes
1answer
412 views

which git returns /usr/bin/git however there is not such path, how do I reinstall git correctly?

I managed to get git to stop working (Mac OSX Mountain Lion) When I type "git" it doesn't say command not found, just shows an empty line, Pressing enter again, exits, and does nothing (yes, I know ...
3
votes
2answers
788 views

Error 403 when git push (multiple github accounts on the same mac)

I have two GitHub accounts on the same Mac. And have credential-osxkeychain installed. It works fine with my first GitHub account. But, how can I add the second account into the keychain access? If ...
1
vote
2answers
3k views

git on solaris 10

I would like to install git on a solaris 10 sparc 64 bit machine. Is there a trustworthy repository for solaris packages (like git)? I would like a binary package. sunfreeware seems to cost money ...
1
vote
2answers
1k views

Git and Amazon EC2 public key denied

I had git working before on /var/html/projectfolder and realized it was a security risk so I made a new folder /projects from the root folder and tried to replicate what I did and now it doesnt work. ...
1
vote
1answer
113 views

how can I git-revise configs in my /etc/ dir? (sudo has different keys..)

I'd like to keep some of the folders in my /etc/ dir git-revised, cause I'm quite new to server administration and am constantly messing around in my /etc/nginx/ and /etc/bind/ directories. I've ...
2
votes
3answers
341 views

How can I version control server configuration files that are changed at application runtime, using git or another VCS?

I'm running a Minecraft server (craftbukkit) and I have several other admins who want access to modifying server configuration files. It is important that I track all their changes, so naturally, git ...
1
vote
4answers
304 views

Reimport ssh certificate after every reboot for GIT PUSH over ssh to work

I am using OSX 10.8 on my macbook air, i have git configured to push my repository to an EC2 instance via ssh. Everything works fine with that. The only issue is that after every reboot, I have to ...
4
votes
3answers
2k views

Redmine 2.x with gitolite integration [closed]

Has someone here correctly configured Redmine 2.x (I'm using Redmine 2.0.3) with gitolite? If yes, how?
1
vote
3answers
839 views

Configuring ssh not to prompt for password

I have git successfully installed on one of our Red Hat Linux 5 WS servers, and am using it on our Intranet, not outside our firewall. Currently, I am prompted for a password when I connect, so what ...
0
votes
1answer
924 views

Replicate GIT repository over multiple geolocations

We are facing to problems with speed of GIT central repository (cloning, pulling and pushing), which is at overseas. Our idea is create clone of that repository in our local office. Has anyone ...
4
votes
3answers
3k views

Migrate multiple svn repositories into single git repository

We want to migrate from svn to git permanently to be able to use git's better features in terms of branching and collaboration. Our current svn repository looks like this svnrepo/ frontend/ ...
2
votes
1answer
445 views

Missing repos in gitweb

Something crazy is happening to me. If you visit http://git.jshawl.com/, you'll see a single repo "testing.git", though if you click on "TXT" in the lower right corner, you can see another repo that ...
2
votes
2answers
1k views

Gitweb document root with gitolite

I'm on Mac OsX, trying to host my own git server. I've got gitolite running perfectly. However, I have a folder called "git" in my Sites directory, such that visiting http://git.example.com points ...
0
votes
2answers
83 views

Remote host making strange request. Am I safe?

I am starting work for an organization on their server. They need to allow connections from my server in order to use GIT over SSH. They asked me to place this in my SSH directory: SHORTNAME=abcdef ...
0
votes
1answer
496 views

Trac + git + post-receive hooks -> Git user cant call trac-admin correctly

after some time I finally made the trac connect with git, but now I'm having problem setting the post-receive hook. My git user is part of www-data group, and www-data also parta of git group. But ...