Git is a distributed source control system.

learn more… | top users | synonyms

2
votes
1answer
466 views

How to allow a git hook to run an executable with sudo by modifying /etc/sudoers

I'm using a git post-update hook to run a command via sudo, and I get the error: sudo: sorry, you must have a tty to run sudo. I believe I need to modify /etc/sudoers but I don't know how to do this. ...
1
vote
1answer
919 views

gitolite on ubuntu 12 always asking for password when trying to clone gitolite-admin

after several hours of googling and trying (and reading several posts on this page) I still do not know what I am doing wrong. So I would be very happy, if somebody could help me here... I updated ...
-2
votes
2answers
248 views

How to setup a Development Server, Git Server, Web Server? [closed]

We have 3 Ubuntu boxes - development server, git server and a webserver and work from a windows xp machine. Is it possible to work on the development server, stage and manage files to push/pull from ...
1
vote
1answer
204 views

Allow private access to Git on shared hosting server

I've setup my own VM running Ubuntu 10.04, LAMP and ISPConfig 3. I would also like to add Git, and give access to to closed group of developers working on their own private projects, essentially ...
0
votes
1answer
310 views

State of the art deploying Rails applications with git

I'm looking to group together the information on the current best practices for deploying a Rails application on a server I run (rather than, say, Heroku). The application is developed by multiple ...
0
votes
1answer
469 views

Redmine git integration - issue in accessing git from redmine but not from external git client

I have setup redmine integration with apache as described in the redmine documentation. I have a /git path accessible with auth and /git-private accessible only to redmine. When I clone the repository ...
0
votes
1answer
174 views

Gittornado with Nginx fails to push and pull

I'm making a simple website to host git repositories, much like github. I'm using Gittornado to handle git Smart HTTP requests, and it works perfectly locally; I can clone, push, pull, etc... But ...
1
vote
1answer
98 views

Setting up central git repo on local Mac network

We are a team of three, all working on our local machines on the same internal network. We will all be working on websites in local working copies of the same Git repo hosted on Github. We have an ...
4
votes
3answers
610 views

Installing git with no idea about machine configuration

I have a user account on a Linux server (x86_64-unknown-linux-gnu, according to this). It apparently has no package managers in the $PATH (yum, apt-get, pkg, pkg-add, emerge, pacman), and it does not ...
0
votes
1answer
108 views

Using Git for development on the web

I'm setting up a new project, and I am getting into doing local development, then I want to upload all the changes to the master server. Basically, I'm wondering, do I need to install git on my local ...
2
votes
1answer
988 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 ...
1
vote
0answers
526 views

post-receive hook permission denied “unable to create file” error

Just got gitolite installed on my webserver and am trying to get a post-receive hook that can point the git dir in apache's direction. This is what my post-receive hook looks like. Got this script ...
0
votes
2answers
224 views

How should a small team using multiple OS's deploy over github?

We have a small development team that have recently moved to using github to host our projects. The team consists of three developers, 2 on Windows and 1 on Mac. I am currently researching the best ...
1
vote
1answer
203 views

Setting up Gitosis, where to create the repos?

I'm trying to setup Gitosis on CentOS 6.2 but have some doubts/problems about it. I read this docs here, here and here but it's unclear to me where to configure where repositories are created. My ...
7
votes
1answer
3k views

debian: FATAL -> Failed to fork

First time in my life I have something like this: root@peklan:~# aptitude install git-core No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and ...
8
votes
1answer
2k views

How to retrieve the last modification date of all files in a git repository

I know how to retrieve the last modification date of a single file in a git repository: git log -1 --format="%ad" -- path/to/file Is there a simple and efficient way to do the same for all the ...
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 ...
3
votes
2answers
889 views

Cron job checking for changes in Git repository

We have just moved our server configs to a Git repository. Therefore there should not be any changes in any of the repository folders. I was thinking about how I could set up a cron job to check for ...
1
vote
1answer
441 views

Check if folders exist in Git repository… testing if a sub-string exists in bash with NULL as a separator

I have a common git "post-receive" script for several projects, and it needs to perform different actions if an /app/ or /public/ folder exists in the root. Using: FOLDERS=`git ls-tree -d ...
0
votes
1answer
74 views

getting git: Breaks: gitosis trying to install both to ubuntu 10.04

following the instructions here, I run the command sudo apt-get -y install git-core gitosis and get The following packages have unmet dependencies: git: Breaks: gitosis (< 0.2+20090917-7) but ...
1
vote
1answer
578 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
822 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
134 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
5k 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 ...
4
votes
1answer
3k 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
760 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
326 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 ...
8
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 ...
2
votes
1answer
92 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
362 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
209 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
422 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
245 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
288 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. ...
-3
votes
2answers
257 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
464 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
421 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
139 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
1k 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
133 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
4
votes
1answer
3k 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 ...
0
votes
2answers
386 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
632 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
272 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
793 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
297 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
443 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
4k 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 ...