Git is a distributed source control system.

learn more… | top users | synonyms

2
votes
1answer
402 views

Setup SSH key per user for Git access

I'm setting up a site that will have multiple development instances running on the same server. Essentially, we'd have dev-a.whatever.com, dev-b.whatever.com, etc.. all running off a single server. I ...
2
votes
1answer
338 views

How can I make gitosis distinguish between two users with the same username

I have a gitosis system that seems to be working correctly except for a common problem we run into where I can't distingush permissions between two users who have the same username, but different ...
2
votes
4answers
4k views

Using symbolic links with git

I used to have my system configuration files all in one directory for better management but now i need to use some version control on it. But the problem is that git doesn't understand symbolic links ...
2
votes
2answers
984 views

How is gitosis-serve invoked?

I have a working installation of Gitosis, but I'm wondering how the gitosis-serve command ever gets invoked! From all I can understand, when you connect through SSH as the git user (using git@host), ...
2
votes
2answers
494 views

Gitosis post-receive hook before initial push

I have a script on the client machine that adds the necessary configuration stuff to gitosis.conf on the server. I'm able to push and everything works correctly. However, I want to add a ...
2
votes
2answers
707 views

Installing gitweb failed: No package gitweb available

I have tried installing gitweb via ssh and failed. Below is what I get. root@server [~]# yum install gitweb Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * rpmforge: ...
2
votes
1answer
323 views

Test and Production Server

I am using Git for a test and production server and I'm trying to figure out the best way to update the production server. I have limited SSH access, and don't want to manually update my production ...
2
votes
4answers
125 views

setting up repositories for users, what does this entail?

Say I wanted to setup a server, where I could create GIT repositories for users. I would only give them access via SSH. I would need to restrict them to say 100megs or 1 gig etc. Is this a ...
2
votes
3answers
86 views

GIT server with username and password authentication

I would like to set a GIT server and let my developers to login using username and password in order to commit and make changes to the projects. I need also to manage developer access to projects (I ...
2
votes
2answers
94 views

SSH access for hundreds of thousands of users

I need to setup a solution similar to GitHub, where users can SSH to their git repository. This should scale for hundreds of thousands of users, so my idea is to use a distributed filesystem for the ...
2
votes
1answer
146 views

25 Sidekiq processes for Gitlab

Looking at htop output on my server I see 25 sidekiq processes spawned by Gitlab. I use Gitlab privately, so there is never going to be any load, so I doubt all of those processes are required, but I ...
2
votes
2answers
137 views

Gitolite3 not writing

I am a bit at world's end here. I want to install gitolite3 smart http over apache. I can successfully pull, but not push (doesn't even give me any errors or notices, not even in any known log). I ...
2
votes
1answer
682 views

Puppet vcsrepo git checkout branch

I am using puppet to clone a repo on an agent node. My site.pp contains node foobar{ vcsrepo{"home/user1/gitrepo1": provider=>git, source=>"https://github.com/foobar/foo.git", ...
2
votes
2answers
344 views

etckeeper pushing to github

I set up etckeeper and added the file /etc/etckeeper/commit.d/60github-push in order to push the commit to github. [orschiro@thinkpad etc]$ sudo cat /etc/etckeeper/commit.d/60github-push #!/bin/sh ...
2
votes
1answer
159 views

Alternative to Samba with XAMP stack

I am currently setting up a server on my network for web development work and was wondering if there is any better way of doing what I intend to do. My work machine is a Windows 7 desktop and I am ...
2
votes
1answer
192 views

Uninstall Gitorious

I have installed Gitorious on my CentOS server but the ssh public key authentication method does not serve my purpose as most of the users are on Windows and will be using more than one computer. I ...
2
votes
2answers
134 views

GIT Website Deployment

I am attempting to setup GIT to deploy my project to different locations based on the branch. (I think this is what I want to do anyway). My current setup is this: Local dev machine running ...
2
votes
2answers
674 views

Auto-scaling EC2 Servers and Updating Code

We've come to the point where we need to set up autoscaling for our web server and I'm unsure how to go about the process of scaling servers and updating the the existing code without remaking a new ...
2
votes
2answers
317 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 ...
2
votes
2answers
1k views

Installation of GitLab ignores ./config/gitlab.yml

I have been trying to install GitLab on CentOS 5.x, but I am stuck now and google's are confusing. I have been following this install guide (currently stuck here) After running bundle exec rake ...
2
votes
1answer
267 views

Steps to install & configure Git server, stucked … :(

I've a CentOS 6.2 server and will like to install & configure a Git Server there. I read a lot of documentation at this [1] and [2] for example but I'm stucked because it's a bit complex than SVN ...
2
votes
1answer
284 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. ...
2
votes
2answers
101 views

How do I fetch a specific version of file to /tmp with git in linux?

That is, I don't want to replace the work space, but fetch a older version of file to /tmp? Is that possible ?
2
votes
1answer
148 views

What is the best way to use git to update test and production servers?

Our company has recently transitioned over to git and github as our main source control. We've gotten all the users setup and everyone is able to push and pull to github just fine. But I'm a little ...
2
votes
1answer
832 views

Can't push to git remote repositories

I'm having trouble pushing my code to a git remote repository from my localhost. This problem only appears for repositories that were initially created with remote urls that are system directories ...
2
votes
1answer
1k views

gitweb- fatal: not a git repository

So I have set up a simple server running debian stable (squeeze), and have configured git. Using gitolite, I have all functionality (at least the basic clone/push/pull/commit) working. Installation of ...
2
votes
1answer
2k views

using git on DOS command line asks for password - but not when using TortoiseGit or gitBash

I would like to use the DOS command line to enter the command: git clone "git_path.git" myDir It asks me to enter a password which I would like to avoid. I usually use TortoiseGit to do all git ...
2
votes
1answer
767 views

Authorization in GIT

I am new to Git. Is there any method in GIT to control the users from accessing the repository. I mean read only and all stuffs like that. I have installed the GUI and using that can I control the ...
2
votes
2answers
5k views

Ubuntu, Git (git-http-backend) and Apache

I am trying to setup a repository server based on git combine with its git-http-backend and apache. My problem? I can clone perfectly, but when i try ti push, i hit a wall $ git push origin master * ...
2
votes
2answers
2k views

Allow users to ssh to specific user through ldap and stored public keys

I recently setup gitolite, where users access git repository with "gitolite" user through ssh. Now I would like to integrate that into LDAP. Each user has pubkey in LDAP and if he has "git" ...
2
votes
4answers
685 views

GIT pull times out?

I've recently set up a small turnkeylinux revision control VM (which has about 256MB RAM), and am attempting to clone one of the repositories I pushed up to it. It is very fast to push to (via ssh) ...
2
votes
2answers
116 views

git clone - fail instead of prompting for credentials

When cloning git repositories in automated tools - web front ends, CI systems, sometimes the git clone invocation opens up a prompt asking for the username and password (for example, when cloning a ...
2
votes
0answers
173 views

Gitolite3 push and selinux access failure

I try to install gitolite3 with ssh and http. I have followed largely the official guide at gitolite3, but I am stumbling accross three remaining problems. When I $ git clone ...
2
votes
0answers
411 views

TeamCity: 'git fetch' command failed. stderr: Socket Closed

We have been working for years with TeamCity and for several weeks with git as version control system. I have set up integration with TeamCity and that has been working fine. We have four different ...
2
votes
2answers
239 views

GIT SVN with subgit and apache

I've started evaluating a piece of software called subgit which seamlessly allows you to interface a repo with either SVN or GIT. Throughout our organization we interface our repos using apache, and ...
2
votes
1answer
243 views

Authenticate Git virtual users via PAM

Can Git authenticate virtual users via PAM? In particular, would Git require some additional utility, such as gitolite or gitosis?
2
votes
1answer
919 views

Configuring Jenkins for running with BitBucket [closed]

I'm trying to setup Jenkins on my mac mini in order to pull my iOS project source code from BitBucket and build it automatically. I've already gone through the major well know problems generating the ...
2
votes
1answer
470 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. ...
2
votes
3answers
209 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 ...
2
votes
1answer
318 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
1answer
409 views

Can you upload chef cookbooks directly from a hosted Git repository?

I'm learning Chef. My cookbooks are on Github. It seems the workflow goes: Install cookbooks locally (download them from Github with knife site install) Upload cookbooks to server (knife cookbook ...
2
votes
0answers
313 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 ...
2
votes
1answer
156 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 ...
2
votes
1answer
1k 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 ...
2
votes
2answers
286 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 ...
2
votes
1answer
114 views

Mirror on Github [closed]

I'm working on the Android sourcecode and I want to create a mirror of my code on Github. Here's the status: Checked out android code using instructions on source.android.com Created a local ...
2
votes
1answer
598 views

Gitolite gl-post-init Hook Automation

ANSWER POSTED BELOW I am currently in the process of setting up a local git/development server and have ran into a snag with the gitolite post-hook. To give an overview of what I am currently doing. ...
2
votes
2answers
1k views

Troubles cloning from a git / gitolite / git-web / git-daemon server (Fatal: 'gitolite-admin.git' does not appear to be a git repository)

Following this tutorial on installing git, gitolite, git-daemon, and git-web I have successfully completed the entire tutorial and actually added projects gitolite; they show up on git web when I go ...
2
votes
2answers
959 views

Mod_pagespeed, Varnish and Apache cache issues after new code pushes

I have a rather strange issue. In my environment we are running a load balanced cluster of 8 apache servers with a master-master MySQL backend. In front of apache we have Varnish in the cache layer. ...
2
votes
0answers
206 views

Git post-receive hook not firing on Windows Server

I am trying to setup Git on my server so I can push my website changes. I am using git-dot-aspx and the push is working just fine. The problem is that the post-receive hook does not fire. I renamed ...