Git is a distributed source control system.

learn more… | top users | synonyms

0
votes
1answer
175 views

Copying a git repository to atlassian stash?

We would like to move our git repository to an atlassian stash installation. I have created a new and empty repository in stash and from our existing git repository on my local machine I have ...
4
votes
1answer
4k views

What “access rights” could be blocking access to a gitlab repository?

I'm trying to setup gitlab (6.5.1) on a fresh clean server. Everything appears to work, but git is unable to push to any project. Following the commands from the newly created project page and pushing ...
0
votes
0answers
27 views

Setup http access for GIT

www.kernel.org/pub/software/scm/git/docs/howto/setup-git-server-over-http.html I am following the above document to setup http for Git. I've done the step two and I can list the directory at URL: ...
1
vote
1answer
116 views

Password prompt for public git repositories with git daemon - gitolite

I try to setup a git server with gitolite and make some repositories public. I installed gitolite, configured it for the user git and everything works fine. Permissions and UMask are set to 0027, to ...
0
votes
1answer
49 views

Deploy using git with different settings per local/hosted environment

I'm new to Git and planning to use it to deploy a PHP application to AWS Elasitic Beanstalk environment. I don't know how to handle the database configuration or anything else that needs different ...
2
votes
1answer
158 views

Git github not working with google authenticator OSX

So I had git running on my computer just fine. My password was saved with the osxkeychain thingy and everything ran smoothly. Today I decided I should be safe and enable google authenticator 2-step ...
2
votes
5answers
1k views

DRBD vs. GlusterFS for replication

I need to build a solution to host internal git repositories. It needs to supports hundreds of thousands (or more) repositories. I plan on using multiple "dumb" servers with a shared storage, so ...
1
vote
0answers
76 views

Removing sensitive data from Git. “fatal: ambiguous argument 'rm'”

I'm trying to run this command: git filter-branch --force --index-filter 'git rm --cached --ignore-unmatch filename.js' --prune-empty --tag-name-filter cat -- --all but I keep getting this error: ...
0
votes
1answer
140 views

Error on installing Git

I keep getting these errors when I try to install git: Error: Package: git-1.8.2.1-1.el5.i386 (epel) Requires: libcurl.so.3 Error: Package: perl-Git-1.8.2.1-1.el5.i386 (epel) ...
1
vote
1answer
48 views

Git with Smart HTTP Transport. Is git update-server-info needed?

I am setting up a Git server using HTTP transport. As both my server and the clients will be using Git >= 1.6.6, Smart HTTP Transport is enabled. The Git manual section about the HTTP/S Protocol says ...
2
votes
2answers
94 views

SSH access for hundreds of thousands of users

I need to setup a solution similar to GitHub, where users can SSH to their git repository. This should scale for hundreds of thousands of users, so my idea is to use a distributed filesystem for the ...
0
votes
0answers
22 views

how to setup GitHub for restricted users of Windows Server 2012?

I want to let users use git and GitHub for code development, partly to let them work on their personal computers occasionally. So git would keep track of development across user accounts on the ...
1
vote
0answers
83 views

Integrating Kerberos authentication on Apache with a Git server

First time asking a question here so I hope I'm in the right place to do so. I've also searched for similar problems on here, but couldn't find anything quite as similar. Here's my problem. We ...
0
votes
2answers
3k views

Gitlab not working with SSH Keys

I am having issues with Gitlab. I used the following guide to install and configure Gitlab https://github.com/gitlabhq/gitlab-recipes/blob/master/install/centos/README.md. The installation seemed to ...
3
votes
1answer
47 views

Where to store VCS version in RPM?

We're using Git as our VCS and RPMs for packaging. I'd like to store the Git hash a package was built from, but I'm not sure on the most appropriate place. There are a number of tags available to an ...
2
votes
1answer
811 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 ...
1
vote
2answers
183 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
179 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
0answers
119 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
0answers
184 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
124 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 ...
-2
votes
1answer
65 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
111 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
346 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 ...
1
vote
1answer
147 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
52 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 ...
1
vote
2answers
2k 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: ...
0
votes
1answer
460 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
103 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
857 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
53 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
60 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
80 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
134 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
37 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
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
108 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
186 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
206 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
182 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
104 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
172 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
113 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
110 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
53 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
166 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
264 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
75 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
231 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 ...