Git is a distributed source control system.

learn more… | top users | synonyms

4
votes
2answers
650 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 ...
0
votes
1answer
74 views

Is it possible to manually specify an alternative Procfile on Heroku?

I have a repository which can be deployed in two modes: one is a front-end web application, while the other is a data manipulating process which runs non-stop, 24x7. The application runs on Django ...
1
vote
2answers
106 views

Serving files from GIT with uWSGI

Good morning everyone! On my daily job, we are using NGINX+uWSGI+MongoDB as Python Application container. For versionning and collaborative developpement we are using GIT install on each developer ...
0
votes
1answer
154 views

Git installation for a newer version fails on ./configure

I'm trying to upgrade my Git version to 1.8.3 on my fresh new CentOS 6.4 server(Cloud). I'm trying these instructions here because I will then install the Gitlab. I have used this document before ...
0
votes
0answers
26 views

How to best deploy applications using git hooks, without having git repository on target server?

Sometimes code history is an asset that needs to be separately paid for. In these cases I'd like to still deploy with git hooks, without having the repository on customer's server. This deployment ...
0
votes
1answer
179 views

Deploying PHP code to Linode on Git push

We are using two Linodes to host our application: one for production and one for staging. I would like to set it up so that when code is pushed to the development branch of our Git repository, the ...
3
votes
1answer
170 views

Verifying Salt states before committing

I'm storing my salt sls files in a git repository, but I have the perennial problem that I can't verify my YAML represents a valid set of states that could be applied (I've also had difficulty ...
1
vote
3answers
81 views

Using git to deploy

Is there a way to deploy/deliver a git branch to different servers via SSH by using git ? Without setting up a git server, using services like github or connecting to the remote servers and pulling ...
0
votes
1answer
168 views

Couldn't install git-flow on ubuntu 10.04

I am trying to install git-flow on Ubuntu 10.04 but I am getting the following error: eading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find ...
0
votes
2answers
423 views

git repositories - how do I make it accessible to gitlist and my dev team

I migrated my repositories from a Ubuntu server to Centos 6 serer. My repositories are located in /home/mydir/gitrepos I installed nginx and gitlist and had to change the ownership and group of the ...
0
votes
1answer
229 views

Error 500 when accessing URL - Centos 6 (selinux disabled) - NGINX - PHP-fpm and GITList

Installed Centos 6 (selinux disabled) - NGINX - PHP-fpm and GITList. when I access my URL I get a server error (The website encountered an error while retrieving http://git.sastratechnologies.net/. It ...
2
votes
1answer
506 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 ...
0
votes
1answer
529 views

Can't “git pull” with PHP on AWS EC2

I'm trying to setup this EC2 instance to listen for a webhook from Github and then run a git pull. The web runs this under the user 'apache'. I was following: ...
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
676 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
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", ...
0
votes
0answers
65 views

Best strategy for maintaining different config file versions for failover

I have two servers. They're both LAMP servers with one as the primary public facing machine and the other as the secondary. Right now I have a script on the secondary that monitors the primary. If ...
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
3answers
471 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 ...
1
vote
3answers
1k views

Using a non-root to deploy a git repo to the web root

What is the best way to set up users and permissions for a production web server that uses git to deploy to the server? Background Running Ubuntu 12.04, I have apache serving files under /var/www as ...
0
votes
1answer
232 views

Choose Correct Reverse Proxy Via URL Parameter

From my understanding of git, the http/https interface is simple. You have two commands - push and fetch. Based on a wireshark trace the fetch URL appears to be in this format: ...
1
vote
2answers
196 views

SSH Key Forwarding fails as soon as I am root

Situation I add a ssh-key to the chain using ssh-add -K the_path as user@local I set up key forwarding as described here https://help.github.com/articles/using-ssh-agent-forwarding ...
1
vote
1answer
688 views

Local SSH connection to Gitlab not working

I'd like to be able to clone, push and pull (via SSH) on my Gitlab-Server from/to itself. Currently, when try to clone a git repository locally from my server I get this: jacob@server: git clone ...
10
votes
1answer
309 views

How well does authorized_keys scale?

If I'm using something like gitolite to handle access control how well does authorized_keys scale? Meaning if I have say 50,000 users what will the performance be like (I'm guessing not very good). ...
0
votes
1answer
148 views

Connect Git Remote Between EC2 New User and Remote Computer

From an Amazon EC2 instance, I created a new user, webserver, and created a git repository that is only accessible to webserver and not the default user. I wish to, from my home computer (also Linux), ...
0
votes
0answers
59 views

GitHub Enterprise ACLs

Is there a way to do github repos acls on the branch level? Or only on repositories level? Sorry might be a very easy answer, but I can't find the answer in their documentation.
-1
votes
1answer
1k views

Gitlab unable to push via ssh [closed]

I just installed gitlab server on CentOS 6, but not able to push any changes to the repo via ssh. A simple ssh works though ssh -T git@git.med-access.net Welcome to GitLab 5.2, Anonymous! But when ...
-3
votes
1answer
72 views

Restrict Access to GIT repo

I have GIT repo from a cloud provider and I would like to add new members to my team but I don't want them to be able to clone the repo to their own laptops. I would like to create a shared ...
1
vote
3answers
114 views

Preventing server (Git/ssh) access during LVM snapshot

If a Git operation is ongoing at the time of an LVM snapshot, the repository can (and will) be snapshoted in a corrupt state. (This has been discussed a lot ...
1
vote
0answers
72 views

Gitlab add default post-update

we've setup Gitlab (as was described at official site). All works fine. Now we need to add git hook to new-created projects called post-update (lets say it is located at ...
0
votes
1answer
99 views

What would cause SSH connections to fail when using `ssh://user@hostname` form but succeed with bare `user@hostname`?

I'm attempting to set up a git repository on our office server and make it accessible through SSH using public key authentication. I created a user git on the server and added two OpenSSH public keys ...
1
vote
1answer
306 views

Automatically sync git repo to Amazon S3 site

I'm using an Amazon S3 site to host a website. I'm aiming to use a git repo to store the content and versioning and I'd like the repo to automatically update the S3 site once something is checked into ...
1
vote
2answers
1k views

Can I mod rewrite to a different document root?

Given a URL: http://example.com/some-file.zip The document root for example.com is /var/www/example.com/ I want apache to: 1) If /var/www/example.com/some-file.zip exists, serve it. 2) If ...
0
votes
0answers
323 views

Webmin/Virtualmin Git repository unable to push

On my CentOS 6 VPS I have installed Virtualmin, Git, Gitweb and Virtualmin Git module. On one of the virtual servers, I have enabled git repositories, created a repository, created a user for the ...
1
vote
4answers
403 views

Server configuration automation: Ubuntu on Windows Azure (+ WordPress, Nginx, Git)

We'd like some ideas on how to automatically configure Ubuntu virtual machines as staging servers for our application, test out the staging code, and then script deployments to the production server ...
1
vote
2answers
234 views

Why is there no git repository after installing etckeeper?

I installed etckeeper on my ubuntu 11.10 server, and after creating the etckeeper repository with: etckeeper init etckeeper commit "Initial version" I got the error: bzr: ERROR: No changes to ...
3
votes
1answer
9k views

What is the best way to backup and restore gitlab? [closed]

What is the best way to backup and restore gitlab incuding all repositories, commit comments, wall comments, wiki etc.
0
votes
3answers
252 views

Puppet include/require a puppet lab's module

How do you create a puppet manifest that 'uses' one of the modules on the puppet forge? class foo { include puppetlabs-git (<- this doesn't work) ...
2
votes
1answer
408 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, ...
0
votes
2answers
112 views

Using Git as a means to sync zabbix instances

So in our environment, we are using a custom build of Zabbix as a monitoring solution. We have Zabbix deployed to four different sites, and would like to ensure that the build is consistent across all ...
1
vote
1answer
37 views

How to drop old commits in git

Sometimes bad people push file in a SCM that have nothing to do here: Test reports Compiled file Other SCM file Cache So git repositories (works also with SVN) can become fat, very fat. How can we ...
0
votes
1answer
134 views

Executing cURL upon Git Push

I'm very new to running a Git server, and I needed to trigger a Jenkins build upon pushing to Git. A tutorial says to do this command: curl http://[jenkins]/git/notifyCommit?url=[job] but it ...
1
vote
1answer
133 views

Setup git on an Internal Server [Ubuntu]

I'm new to Ubuntu. I've been following this Setting Up the Server to config git on a Ubuntu machine (MyUbuntu). I created a Git account and my authorized_key is in /Home/git/.ssh ssh-rsa ...
-1
votes
2answers
71 views

Use version control for a live website [closed]

I have a live website hosted in a linux shared godaddy account. I want to start using Version Control. I also have a easyPHP localhost in my windows, where I do my development and testing. I am ...
2
votes
0answers
562 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 ...
1
vote
1answer
487 views

SSH tunnel to allow ssh traffic: connection always refused

I have access to two servers at work. Server A hosts git repositories and is externally visible. I would like to be able to clone a repository into Server B which is hosted on Server A. Currently, I ...
1
vote
1answer
338 views

Is it possible Cloneing git over SSH with full path to the repo?

I use satis to generate my private list of packages for composer. Unfortunately, satis refuses to accept ssh://user@myserv.com:port/MyRepoName.git syntax. The only syntax it accepts is ...
0
votes
1answer
110 views

github push -> redmine issue duplicate comments

I've successfully connected github to redmine and whenever someone puts an issue reference in a commit message and pushes it to github, a comment is added to the redmine issue referring back to the ...
3
votes
1answer
56 views

Managing patches to configuration files

I use a configuration management system and, as I believe is common, my CM software simply copy-pastes configuration files to deploy them to my Linux servers, blindly clobbering whatever's there. But ...
1
vote
1answer
183 views

Git prime/hub website deployment: documentroot changes save fine but permission denied for subdirectories

Following the instructions in A web-focused Git workflow I set up a prime and hub repository on my web server and then cloned the hub to my machine at home. I started testing commits and pushes with ...