Git is a distributed source control system.

learn more… | top users | synonyms

2
votes
1answer
3k views

installing git from debian wheezy backports: anyway i see old package version

I need to install git 1.8.* version. I added backports to my sources.list; Removed current installed git via apt-get remove git; Executed apt-get update to update my packages list aptitude show git ...
2
votes
2answers
644 views

Executing a git command using remote powershell results in a NativeCommmandError

I am getting an error while executing a remote PowerShell script. From my local machine I am running a PowerShell script that uses Invoke-Command to cd into a directory on a remote Amazon Windows ...
1
vote
1answer
471 views

Repository Access Control with GIT over HTTPS

We recently began experimenting with GIT and are looking to possibly switch over from SVN to GIT. I setup a server for git that is currently using the SSH protocol. There server is running CentOS 6.5. ...
1
vote
1answer
365 views

Redmine not finding my Git Repo on Debian 7.3

I'm currently facing the problem, that I get the error message The entry or revision was not found in the repository. when I want to see the repository in Redmine 1.4.4. The repository path is set to ...
0
votes
1answer
356 views

Deploying Rails Application in AWS OpsWorks

I've created a stack, inside this stack have created two layers. Rails App Server (Ruby version: 2.0.0, Rails Stack: nginx & Unicorn, no custom chef recipes) MySQL (using built-in recipes) And ...
0
votes
1answer
244 views

Force git pull and clone to not prompt for password

I host my own git repositories on my server and I can clone them with git clone git@example.com:repo I would like to know how to make cloning and pulling passwordless, so friends of mine could run ...
-1
votes
1answer
164 views

Migrating a Github repository with all the commit history to Perforce [closed]

The title is self explanatory, how can i migrate a github repository with commit history to Perforce. Thanks.
-1
votes
2answers
247 views

CentOS 6 with Hiawatha initial setup ssh agent problems

I have a VPS that I have installed cmake, and Hiawatha on to without problems. The ip address provides a webpage when viewed in the browser so that is working fine. My document root is to be loaded ...
3
votes
5answers
1k views

Limit ssh to local network, except for the git user

I have an Ubuntu 12.04 server set up with Gitlab and OpenVPN to serve as a git and vpn server for us. Currently I have opened up port 1194 in the firewall to open for OpenVPN and let users ...
2
votes
1answer
452 views

Permissions for Jenkins to allow post-receive hooks, yet block anonymous users

I'm trying to disable Anonymous access to our Jenkins installation, but still allow Codebase Git to perform post-receive hooks to post to Jenkins, to allow it to trigger a build. We're using ...
0
votes
1answer
75 views

Apache > mod_auth_dbm combine group and user files

I have created a Git server with git-http-backend on a VPS with CentOS 6.5, and use htpasswd authentication. The relevant section used to look like this: <LocationMatch ".*"> AuthType ...
2
votes
2answers
6k views

Failed to connect to repository - 401 on Jenkins + Codebase Git

I'm trying to get Jenkins to use Git as our SCM, and setting it up is being a bit of a pain. When specifying the Codebase Git repo to use, using the following format: ...
2
votes
1answer
2k views

Configuration of nginx for git-http-backend on debian(-based systems)

I'm having trouble to get git-http-backend working using an nginx server on my Ubuntu 13.04 machine. Tried it with Debian 7 before but with similar results. Basically I followed ...
0
votes
1answer
2k views

CentOS 6.4 - Can't push git using public / private keys

Problem: Can't push using Git from Windows to Linux. Also can't connect to git user over ssh. Update #1: I changed "PasswordAuthentication" to no and tested. Key did not work, but password did. ...
1
vote
0answers
2k views

“Cannot allocate memory” Using composer to install composer using fork from laravel git

Whenever I try to install a new laravel project, I receive the following error: PHP Fatal error: Uncaught exception 'ErrorException' with message 'proc_open(): fork failed - Cannot allocate memory' ...
-5
votes
1answer
56 views

Backup of images [closed]

I've just installed a Ubuntu for a file server. It will share a folder (samba) and employees of my company will save photos on that. Currently the total amount of the photos is about 100GB and every ...
0
votes
1answer
72 views

Looking for VCS wrapper that tracks system files changing across the whole *nix OS and sends diffs through email

I need some software that looks after custom directories across the whole OS (i.e. /etc) and alerting me if someone edit something file inside. Additionally, this tool must automatically commit and ...
1
vote
1answer
130 views

gitweb refusing to blame

I'm attempting to get gitweb (git 1.8.4.2, via git instaweb) in a project dir on my Debian server to offer blame views. In my /etc/gitweb.conf: … # default logo, favicon, etc. settings ...
1
vote
1answer
372 views

nginx http server_names_hash_bucket_size

I recently installed GitLab & nginx on my server. All went through well, however, I am having problem in server_names_hash_bucket_size & server_names_hash_max_size. I need to increase it, but ...
1
vote
0answers
54 views

Getting new tags in Git Push on pre-receive

I'm using pre-receive hooks in GIT (using bash on Linux) to filter the push that are allowed into my repo. I need to filter the push that developers do into my GIT repo, allowing just pushed with ...
3
votes
2answers
65 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
169 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
298 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
1answer
868 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
130 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
421 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
3answers
366 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
215 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
144 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
2k 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
517 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
107 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
487 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 ...
5
votes
2answers
1k 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
2answers
108 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
137 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
184 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
27 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
213 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
253 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
86 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
196 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
590 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
255 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
665 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
643 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
208 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
878 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
73 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 ...