Tagged Questions

Git is a distributed source control system.

learn more… | top users | synonyms

1
vote
1answer
34 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
234 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
403 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
2k 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
2k 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
569 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
292 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
474 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
1k 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
974 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
105 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
230 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
259 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 ...
3
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
469 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
510 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 ...
3
votes
3answers
1k 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
353 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
985 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
76 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
364 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 ...
-2
votes
1answer
234 views

logged in as root, make all files in /home/user chown to user when git pull

I like to stay logged into my (Ubuntu) VPS as root. Now I am running into issues when I git pull into my wordpress directory at /home/user . All new files will have user and group assigned as "root", ...
2
votes
1answer
517 views

Use Git hooks to auto format code after pull requests or commits or pushes/pulls?

Lets say you have a Git repository, like on GitHub, and you have a lot of people contributing to the repository. Everyone uses their own standards for coding, so the code ends up being a mess without ...
3
votes
1answer
422 views

Using nginx and Drupal, how do I serve a 404 error for static files and directories that exist?

I deploy a Drupal web site using git (well, OK, the developers deploy it; I try to keep them out of trouble), and for that reason the site has a directory .git and a file .gitignore in the document ...
0
votes
1answer
115 views

Sharing git repo on DreamHost

I have a git repo on DreamHost that I would like to be able to share with other developers. I am only able to create it in my home directory. How do I get it so that other devs can access it via ...
5
votes
1answer
163 views

GPG verifying git tags in a deployment script

We would like our deployment process to pull directly from our git repository, but only activate new changes if they are signed (via git tag -s) with a GPG signature. I've found very few examples out ...
5
votes
1answer
318 views

Apache not calling the Smart HTTP CGI

I'm setting up a git server with git-http-backend and Smart HTTP but Apache doesn't seem to be calling the Smart HTTP CGI: $ curl ...
1
vote
1answer
1k views

MKCOL 405 and LOCK 500 on git push (error: cannot lock existing info/refs)

I'm having some troubles setting up a Git server with apache. Here is my gitrepo.conf: DavLockDB "opt/local/apache2/var/DavLock" <Directory /opt/local/apache2/htdocs/repo> DAV On Deny ...
1
vote
2answers
1k views

git refuses to send credentials over http?

curl seems to work fine, but git does not. git asks for a password, but then doesn't send any credentials. works: curl --netrc http://test.git.unsw.edu.au/ and curl -u username:password ...
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 ...
1
vote
2answers
655 views

TortoiseGit using private key (non-root user)

I have a debian server with some git repositories. I've generated two keys using keygen -t rsa That gave me root.pub and user.pub files. The root.pub was appended to /root/.ssh/authorized_keys and ...
2
votes
1answer
505 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 ...
0
votes
1answer
460 views

Why can I connect to git using git bash but nothing else?

I've set up a git server using instructions from Scott Chacon's ProGit book. I can connect, and interact with the repositories that I've set up with no problems using Git Bash or Git GUI from msysgit ...
-4
votes
1answer
111 views

etckeeper user and system diffs [closed]

I'm looking for a way to keep user and system-made changes to /etc using etckeeper seperate automatically. Basically different commits for user and system. I'm sure many other sysadmins could benefit ...
2
votes
1answer
575 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
979 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
257 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
231 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
2answers
330 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
520 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
187 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
103 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
693 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
109 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
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 ...
1
vote
0answers
578 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
237 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
228 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
4k 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 ...
12
votes
1answer
3k 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 ...