Git is a distributed source control system.

learn more… | top users | synonyms

3
votes
0answers
75 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 ...
2
votes
0answers
155 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
0answers
284 views

Intermittently git push hangs over ssh to gitosis

I have an intermittent problem pushing to my git (gitosis) repository. Most of the time it works fine but when it doesn't work the push hangs. It seems to have done the majority of what it wants to ...
2
votes
0answers
198 views

Git post-receive hook not firing on Windows Server

I am trying to setup Git on my server so I can push my website changes. I am using git-dot-aspx and the push is working just fine. The problem is that the post-receive hook does not fire. I renamed ...
2
votes
0answers
288 views

How to setup a bridge between SVN and GIT?

Scenario: Our Company has an SVN repo, trunk only Internally we want to use locally GIT, multiple branches with a stable branch. Every time, when we finish testing out work, and push them to stable ...
1
vote
0answers
26 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: ...
1
vote
0answers
57 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 ...
1
vote
0answers
52 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 ...
1
vote
0answers
27 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 ...
1
vote
0answers
144 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 ...
1
vote
0answers
53 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 ...
1
vote
0answers
342 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
0answers
141 views

Write issues on Linux Samba shares with OS X clients

Our web development company has a Linux server with a Samba share which employees use to develop websites. On the Samba share are numerous directories which serve as document roots for a webserver ...
1
vote
0answers
192 views

Apache looking for wrong directory in git-http-backend configuration

I wouldn't be posting here unless I've run out of options. Be forewarned, I could be making a very simple rookie mistake. I'm trying to set up the git-http-backend on Ubuntu Server 12.04. I've gone ...
1
vote
0answers
294 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: ...
1
vote
0answers
87 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 ...
1
vote
0answers
1k 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
vote
0answers
89 views

Limiting user access to local Gitorious repository

I have installed and configured in private server a local git repository using Gitorious. The problem I am facing is that when I set up a new Gitorious project and limit read access permissions to ...
1
vote
0answers
251 views

Apache ScriptAlias and access error?

First of all after much pain i figured out how to make it work in Apache 2.4 windowz. Here is my configuration that seems to work successfully for git clone and push and everything. Problem First of ...
1
vote
0answers
522 views

Gitlab workflow and configuration for users

Context / Information I installed gitlab on ubuntu 12.04 as described on this official page: https://github.com/gitlabhq/gitlabhq/blob/stable/doc/installation.md After I installed, I was able to ...
1
vote
0answers
474 views

post-receive hook permission denied “unable to create file” error

Just got gitolite installed on my webserver and am trying to get a post-receive hook that can point the git dir in apache's direction. This is what my post-receive hook looks like. Got this script ...
1
vote
0answers
154 views

Problems with umlauts and git-svn

I've got the following problem: I checked out an GIT-repository created by tortoise-git under windows. German umlauts like "öäü" are shown as \x-Codes under my linux. That's basically no problem ...
1
vote
0answers
1k views

git push over smart HTTP fails with 403

This has been driving me nuts. I'm running git 1.7.8.rc4 with Apache/2.2.14 on Lucid Ubuntu, and set up LDAP authentication. The authentication seems to be working fine, and i can pull, but i can't ...
1
vote
0answers
208 views

GIT Private Repository - SSH Access to Sub Domain on MediaTemple.net

I created a GIT Repository on one of my servers at MediaTemple.net the one I'm using is a (gs) Server. The repo was created on a subdomain (git.example.com) I then created two user accounts with SSH ...
1
vote
0answers
215 views

Git, cherry-pick commits from one repo to another

First of all, I do not have much experience with git specific and I had worked with it previously like with ordinary SVN (one repo, possibly with branches, and simple commits.) I forked a repo on ...
1
vote
0answers
315 views

Ubuntu gitosis server denying all publickeys after chmod

I Recently installed gitweb onto our gitosis source code repo server.. (Ubuntu 10.04 LTS Server) Somewhere along the line i changed something i shouldn't have and whenever attempting to clone from ...
0
votes
0answers
5 views

How to debug Repository.fetch_changesets runned from ./script/rails runner

For some time I have been updating changesets manually on server with following command's: $ cd /custom/www-data/ $ source /custom/www-data/.rvm/scripts/rvm $ ./script/rails runner ...
0
votes
0answers
16 views

Multiple upstreams with SSH from Bitbucket

I'm a bit new to deployment on servers, straight from Bitbucket to my VPS. One thing I couldn't figure out by myself or Google was the following: The first Bitbucket project I added with git ssh to ...
0
votes
0answers
22 views

Set git config for a group instead of user or systemwide

We have configured git config --system init.templatedir /path/ on our system to automatically create required githooks for each new repository created via git init. However, there is another group of ...
0
votes
0answers
16 views

using git with web hook from github

I try to deploy from a github web hook my code. So I create a deploy file: <?php error_reporting(E_ALL); if ( $_POST['payload'] ) { echo ("****************************************\n"); ...
0
votes
0answers
16 views

ssh-add is required before each git push

Before I can git push / pull or capistrano deploy (using agent_forward => true) I have to run ssh-add command. If I try without this I get a publickey failure. Does anyone know why ssh-add is not ...
0
votes
0answers
15 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: ...
0
votes
0answers
17 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 ...
0
votes
0answers
127 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
0answers
635 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' ...
0
votes
0answers
144 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
0answers
35 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
0answers
111 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
218 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
64 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@... ...
0
votes
0answers
22 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
0answers
42 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 ...
0
votes
0answers
51 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 ...
0
votes
0answers
159 views

Jenkins can't clone from git on Stash

I'm trying to run a Jenkins job to. RIght now, the only configurations I have for the job are the 3 git repos it's supposed to be pulling from. It seems to be unable to fetch them because of some ...
0
votes
0answers
46 views

Updating a script currently being ran by Task Scheduler on Windows

I have a scheduled task that runs a script on a ahem schedule ahem that updates a local git repo. This script is a file in this local git repo. Currently, what I'm seeing is that the script is ran, ...
0
votes
0answers
230 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
0answers
41 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
0answers
135 views

Use Gitolite to deploy to Plesk websites

When I was the only developer in our company, using Git to deploy websites on our Plesk-based test-server was easy; I just did everything as root with a simple post-receive hook. Now that we have ...
0
votes
0answers
199 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 ...
0
votes
0answers
69 views

Git over SSH: Setting a base path?

I have Git running over SSH ON CentOS 6.4. The user name that Git is running as is git and the home directory is /home/git. My Git repositories live in /srv/git. When I clone a repository, I have to ...