Git is a distributed source control system.

learn more… | top users | synonyms

2
votes
3answers
1k views

Giving PHP the permission to make a git pull request

I would like to allow PHP to execute a Git pull command. But there are some problems with the user and permissions. How did you solve the problem? PHP runs as user www-data. Therefore I've changed ...
2
votes
1answer
681 views

Opsworks Custom Layer deployment

I am trying to use a custom layer in AWS Opsworks to add a nginx webserver. I have successfully created the layer, I added my app via GIT (no password on repo), but when I deploy the command is ...
2
votes
3answers
475 views

Replace gitolite3 user with git

I am installing gitolite3 on a server, with ssh and http pulling/pushing/alltherest. During the process, a user and group gitolite3 is created. When I run: $ ssh gitolite3@server info I get the ...
2
votes
1answer
410 views

Why do I keep getting bad index files with Git [closed]

I keep getting the following error: error: bad index file sha1 signature fatal: index file corrupt And I know the short term solution is just to delete the index and away you go but my question is, ...
2
votes
2answers
1k views

How can I get the git-all meta package on RHEL 6.2

I believe I'm missing some of the common git addons, such as gitk, and I suspect it is because I installed git using sudo yum install git as the information for that package lists: : The ...
2
votes
2answers
129 views

GIT Website Delopyment including submodules

So I got a GIT repository with a couple of submodules. Now i created a "post-update" hook on my webserver that automatically deploys my website on update. That's how my post-update hook looks like: ...
2
votes
2answers
200 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 ...
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 ...
2
votes
1answer
1k views

Errors while trying to install gitolite

I'm trying to get up and running gitolite as the instructions said at this http://sitaramc.github.com/gitolite/qi.html but when I run the command: [git@devserver gitolite]$ src/gitolite install -ln ...
2
votes
1answer
107 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
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 ...
2
votes
1answer
1k 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 ...
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. ...
2
votes
1answer
428 views

Installing packages without internet access

I am trying to install git on a SUSE linux server that, to all intents and purposes, doesn't have internet access. It would appear that I also need to install some dependencies for git. Is there ...
2
votes
2answers
185 views

“Half” ssh authorization to a server with git repository

Currently I have purchased web hosting with ssh access. I have created a git repository on it and if I set my public key in ~/.ssh/authorized_keys file, I have access to that repo, I can push/pull ...
2
votes
1answer
412 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
344 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
5k 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
1k 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
505 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
745 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
324 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
126 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
842 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
149 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
509 views

Amazon Elastic Beanstalk + Git Submodules

I'm using Amazon's Elastic Beanstalk to deploy my app via Git, and I've got submodules within my Git. Of course, when I look at the directories where the data for the submodules should be, nothing is ...
2
votes
2answers
182 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
1k 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
1answer
161 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
273 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
147 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
427 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
2k 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
511 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
1answer
271 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
307 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
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 ...
2
votes
2answers
103 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
160 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
1k 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
842 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
762 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
0answers
84 views

cgit + redmine + git (advance integration)

I've successfully managed to configure my Redmine with advance git integration. However, I'm very interested in combining cgit with the current configs, but I'm not sure how. So, basically I want to ...
2
votes
2answers
288 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
201 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
563 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 ...