Git is a distributed source control system.

learn more… | top users | synonyms

3
votes
2answers
62 views

How to use Git over multiple similar systems

I have a system I need to duplicate over several systems and make minor changes like change less/css variables and configuration files. Is there a best practice for these kind of problems? I ...
-3
votes
1answer
117 views

GitHub updating repository?

I am trying to setup GitHub on my server and gotten to the point where I am running the command "git push -u origin master". However, a large file was detected and the following error was received: ...
1
vote
0answers
204 views

Unable to git clone to disk mouted as SFTP drive

I'm under Win7 and trying to git clone rep to my Z: disk. Disk Z: is mouted via SFTP (connecting to local FreeBSD server) using SFTP Net Drive Free utility. When I'm trying to git clone to my local ...
0
votes
0answers
243 views

Git push over https URL fails from Jenkins, works from command line

I have limitation in the CI environment in the sense that SSH and Port 22 is blocked by company firewall policies and they will never open it. I get stuck at a post build step where I want to push to ...
0
votes
1answer
271 views

Vagrant saving current state when windows reboots

I am running vagrant with ubuntu as guest os, but when windows reboots, i again have to install LAMP and configure virtual hosts and also all apps like git, memcache again. How can i save the state ...
0
votes
3answers
108 views

Git Remote Server Configuration

I am building an intranet for development purposes for my development team. So far I have a new CentOS box with Git installed, and a repository initialized. My goal is for developers to access the ...
2
votes
1answer
219 views

Change ssh ControlPath with host-specific declaration

I have a situation where I need to access the same SSH host (GitHub) with two different SSH keys. This is no problem and I can set it up easily by aliasing the hostname. The problem comes when this ...
2
votes
2answers
171 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 ...
0
votes
1answer
119 views

Cannot run grack, passenger occurs error: uninitialized constant GitHttp (NameError)"

I trying to setup web server for publish git repositories on successfully installed and worked redmine server. Passenger occurs error: Web application could not be started uninitialized constant ...
0
votes
0answers
63 views

Git / SSH authentication stopped working

I have a local gitolite install which I've configured to allow several users to access a repository. I went to check out some code yesterday and got prompted for a password - so I asked one of the ...
0
votes
1answer
1k views

Why GitLab “fatal: Could not read from remote repository.” with push while I can make pulls?

When try to git push I got the following message: fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. I can clone and pull ...
0
votes
0answers
200 views

git server 403 forbidden gitweb

When I try to configure url's with the following I get 403 forbiddden error ona accessing repositories. My Repositories are in /crc/git $feature{'pathinfo'}{'default'} = [1]; Alias /git ...
0
votes
0answers
287 views

Setting up Git, Gitweb, Gitolite on a Fedora 19 Server - Getting a '404 - No project found' message

All - I'm getting a 404 - No projects found trying to get a gitweb server up. Git and gitolite work fine, but I can't get projects to show up. Here's my setup: I'm working on getting Gitweb up on ...
0
votes
0answers
87 views

Why does git remote repo only work as root?

I followed this description setting up a git remote git repo. This worked pretty well so far, but only when I use root@mygitserver.com:/gituserhomedir/someproject.git. When I switch to user git@... ...
1
vote
2answers
271 views

Puppet - How to install git 1.8.x which isn't in default packages

How would you automate the installation of a specific version of git using puppet? apt-get update && apt-get install git-core on my 12.04 ubuntu server results in git version 1.7.9. I must ...
4
votes
2answers
264 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
57 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
84 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
102 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
25 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
145 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
0answers
120 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 ...
0
votes
0answers
49 views

Accessing 1 Repository from 2 TFS server

We have 2 subnetworks: 192.168.1.* and 192.168.4.* The 4ish subnetwork is the test development environment which is a copy(replica) of our whole live network . 1 Network contains: 2 AD's 1 SQL ...
1
vote
3answers
74 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
122 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
281 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
195 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 ...
0
votes
1answer
374 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
392 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
158 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
476 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
792 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
60 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
189 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
301 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
674 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 severing files under /var/www ...
0
votes
1answer
188 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
162 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
506 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
287 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
0answers
322 views

Better alternative to batch file for automatic Git-Pull on windows server

I have a set of web servers, and to keep the files up to date on the server, I use a windows scheduled task. The task calls a batch file which executes a git-pull command. This seems simple enough, ...
0
votes
1answer
91 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
55 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.
0
votes
1answer
1k views

Gitlab unable to push via ssh

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
66 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
105 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
68 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
64 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
215 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
759 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 ...