Git is a distributed source control system.

learn more… | top users | synonyms

0
votes
1answer
462 views

SSH failing from script, working on command line (Git)

Have 3 servers: Local, Bare, Development. The following workflow works perfectly: 1. Make my local changes 2. git push to Bare 3. ssh into Bare 4. $ ssh ip.of.Development.server "cd ...
0
votes
1answer
978 views

GIT issue in AIX 6.1

I recently installed GIT 1.8.1 on my AIX 6.1 machine and am facing a few issues with it. Now if I login as root and issue git commands like git --version I get the response as shown : Code: git ...
1
vote
2answers
1k views

pulling git-via-ssh repo via Puppet: “Could not create repository (non-repository at path)”

I'm trying to pull a git (github) repo via Puppet. I've used the official vcsrepo documentation and borrowed from the Fiesta post to come up with the following config: vcsrepo { "/tmp/": ensure ...
0
votes
1answer
218 views

Write permissions of www-data user and public key issue

I am using Ubuntu and I am having the following problem. I am using a PHP function called exec to get the latest git changes from my remote repo. E.g.: exec("git pull");. The file is placed in ...
-3
votes
2answers
559 views

Simplest way to jail users for git [closed]

I'd like to create a couple user accounts on my server such that the users can check out a specific git repository. Ideally, the user would not be able to gain access to a shell or copy any files ...
5
votes
3answers
8k views

Git clone/pull across local network [closed]

I'm trying to clone/pull a repository in another PC using Ubuntu Quantal. I have done this on Windows before but I don't know what is the problem on ubuntu. I tried these: git clone ...
5
votes
1answer
1k views

Multi-server Deployment strategies - Git on production servers?

Main question: Is deployment using Git on production servers a good strategy? Many, many deployment strategies I see revolve around having Git on your servers (dev, staging and production). The ...
11
votes
4answers
21k views

How to setup Gitlab with post-receive hook?

I am using Gitlab on one server and would like to push my git repository on commit of the master branch to another webserver. So when I push a new version of the website the production server gets ...
0
votes
1answer
199 views

SSH publickey error when trying to push to server using git

I am trying to use this tutorial to set up a git remote repo on my server: http://toroid.org/ams/git-website-howto But when I try to push to the server, I get this error: Permission denied ...
-3
votes
1answer
332 views

Unable to do a git pull - related to upgrade from Ubuntu 11.10 to 12.04? [closed]

Everytime I execute git pull origin master on my laptop, I get an error. This does not happen on any of my other computers or linux servers. The only difference with my laptop is that I recently ...
1
vote
0answers
575 views

Gitweb to check access rights with gitolite

I'm several git repositories accessible to different users. I want to allow the users to browse all repos he or she has at least READ access to. To achieve this I have the following gitweb config: ...
4
votes
1answer
367 views

How can I use etckeeper via sudo with different users and have the correct user in the commit message? [duplicate]

I'm working on a server with several admin users. Each of them can use sudo to make configuration changes. We're keepeing our /etc directory version-controlled using etckeeper. However, when I or ...
2
votes
1answer
427 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?
0
votes
0answers
84 views

Git's virtual users stored in MySQL

I have a MySQL database storing user accounts (username and password) for my website. I need to provide a publicly accessible revision control system (eg. Git) toward some source files archived on ...
2
votes
3answers
2k 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 ...
3
votes
3answers
125 views

Would there be anyway to know the origin account's username that ssh'ed into the server?

I initially git cloned a repo, when I push my work, within the post-receive hook, I would like to retrieve the origin acount's username who did the push. I know $SSH_CONNECTION and $SSH_CLIENT give ...
0
votes
3answers
13k views

How can I get the “base” repository for yum in RHEL 6?

My goal is to try and install git on a RHEL 6 machine. I've seen the post here: How can I install git on RHEL 6? And the answer refers to a download link that appears part of centOS: ...
0
votes
2answers
177 views

Private Git repo using Smart HTTP with LDAP authentification

I've been crawling the interwebz and getting my hands dirty for the last few days, but I can't seem to make it all work together. I managed to get a HTTP repo working with Ubuntu 10.04 over Smart ...
1
vote
1answer
790 views

Chef: how to run actions if git deploy has pulled new code?

Most of the time there's nothing new in the git repo that is deployed to a local directory, but if there are any changes, the node.js application should be restarted to start working with the latest ...
2
votes
2answers
144 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: ...
1
vote
1answer
382 views

How config git email notification

Could your advice information (script) to config git notification. We have many projects and team working with them. It will be better if team member could get email notification when another push.
1
vote
0answers
117 views

Git push write access for deployment denied

I have strange issue when try git push. Git clone and commit works fine. W access for my_project DENIED to deploy_my_project_ My gitolite.conf repo my_project R = deploy_my_project_111 ...
0
votes
1answer
426 views

Chrooted nginx, fastcgi, and cgit

I'm running a Debian server with nginx chrooted in /var/chroot/nginx. It works wonderfully, but I'd like to be able to run cgit and host my gitolite repositories. When it was out of the chroot it ...
2
votes
2answers
153 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
0answers
2k views

Tortoise Git seems to connect then refuse my connection: git did not exit cleanly (exit code 128)

I had been using Tortoise Git from my windows PC to connect to GitHub as well as a local server. One of my OS drives failed (raid 0) so now I'm tasked with getting it back up to speed. I've been ...
-1
votes
1answer
107 views

MD5 for Git's git-credential-osxkeychain executable? [closed]

This question copied over from Super-User, where it was apparently unwelcome. Anyway, asked and answered: I'm setting up a GitHub account and have downloaded Git's git-credential-osxkeychain ...
1
vote
1answer
85 views

selinux, git and var/www [closed]

Here's my situation: what i want to do is to "git clone" a project under /var/www. But since i'm logged into my server as idcuser selinux (I suppose :D) doesn't permit me to do it. How can I "give" ...
1
vote
1answer
2k views

GitHub push to AWS Elastic Beanstalk

I am using GitHub for code management. I am using Amazon AWS Elastic Beanstalk as a server. Amazon announced that you can use Git to push code to the application server. However, to do this I'd have ...
0
votes
2answers
406 views

How to keep groups when pulling with git

I have a staging site that is a working directory of a git repository. How to set up git to let a developer pull out a branch or release without changing the group of the modified files? An example. ...
2
votes
1answer
178 views

git auto complete freezes terminal when password required

When executing a command such as this git pull origin BRANCH-1 and hitting tab (auto complete) I get a password prompt like so: git pull origin BRANCH-1Password: Then the terminal freezes. The ...
0
votes
1answer
715 views

Setting Trac with GIT receiving : “GIT backend not available”

We are a small team that worked with TRAC + SubVersion, post-commit hooks and all :) Recently, we have a situation some developers need to work offline, so all together we decided to move to GIT for ...
9
votes
6answers
9k views

Yum doesn't install latest version of Git on Centos6

When I go to Gits download section it mentions that latest version is 1.8 and I can install it by yum install git on Fedora. I'm running CentOS6 so that command should also work for me, but yum tells ...
3
votes
2answers
1k 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 ...
0
votes
1answer
887 views

Unable to setup git with jailed user

I have performed below steps to setup jailed user here username is test3 mkdir -p /home/test3/{dev,etc,lib,usr,bin} mkdir -p /home/test3/usr/bin chown root.test3 /home/test3 mknod -m 666 ...
0
votes
1answer
54 views

User policy with git and apache

I want to setup git repository on my server so it is accessible from my webserver (read and write with redmine). I want to be able to create repository with my user (toto) in SSH. Currently I set up ...
31
votes
7answers
10k views

Non interactive git clone (ssh fingerprint prompt)

I want to clone a repo in a non-interactive way. When cloning, git asks to confirm host's fingerprint: The authenticity of host 'bitbucket.org (207.223.240.182)' can't be established. RSA key ...
2
votes
1answer
1k 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 ...
1
vote
1answer
138 views

Unsure of where my git repository is storing files

I've made a remote git repository with mkdir /var/www/html/myproject.git chmod 0770 /var/www/html/myproject.git ln -s /var/www/html/myproject.git myproject.git cd myproject.git git --bare init and ...
13
votes
5answers
1k 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
87 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?
5
votes
2answers
4k 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
25 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
3k 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 < ...
2
votes
2answers
210 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
355 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 ...
2
votes
2answers
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
99 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
93 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 ...
3
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
762 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 ...