Git is a distributed source control system.

learn more… | top users | synonyms

5
votes
1answer
4k views

git on HTTP with gitolite and nginx

I am trying to setup a server where my git repo would be accessible with HTTP(S). I am using gitolite and nginx (and gitlab for web interface but I doubt it makes any difference). I have searched ...
0
votes
0answers
6 views

Is there any way to revert the current build in Jenkins? [migrated]

My newly created deployment team is struggling to find a way to revert a currently deployed build. They have integrated Jenkins with Git and Bitbucket Is there any way possible to revert back the ...
0
votes
0answers
5 views

Debug slow “git pull” operation executed by the Local System account on a Windows Server

On a Windows server, which runs Apache and PHP, the webserver executes a git pull through a PHP script. This is part of a deployment process. When the Apache2 service runs under the Local System ...
0
votes
0answers
17 views

nginx push request forbidden

I'm running a local git server using nginx but i'm getting a problem in my push request. i can clone from my repo, after that when i commit and try to push it back my i get a 403 Forbidden error ...
-1
votes
0answers
12 views

SSL23_GET_SERVER_HELLO:sslv3 alert handshaje failure gitlab

I installed latest version of gitlab and now git bash / command line is not working, all are getting SSL23_GET_SERVER_HELLO:sslv3 alert handshake error. How do we resolve this issue ? ssh is working ...
0
votes
1answer
1k views

php fopen error (failed to open stream: Permission denied)

I have a php script on a Windows Server 2008 box (IIS 7) that is run periodically to download a remote XML file and store it on the server. This script (which previously used to run successfully), is ...
3
votes
2answers
2k views

Slow git clone and fetch

I setuped gitosis on a linux server following this tutorial: http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way We are using git on our windows machines with TortoiseGit ...
-3
votes
1answer
33 views

Does Git has built-in SSH server? [closed]

I'm trying to setup Git's remote SSH server to access this using SSH, but I haven't found any info how to make this. So, does Git has built-in SSH tools to establish such connection to use this ...
1
vote
0answers
25 views

Nginx - How to authorize access to repositories using python script

I have set up a local Git server using Nginx ( in Ubuntu ) ,Now I want to authorize users using external python script , which should authorize them against predefined database . AFAIK, I have to ...
3
votes
1answer
945 views

Git clone from Windows to Windows cannot find the repository

git clone gituser@<server>:myRepo.git doesn't work, fails with the error message: fatal: ''myRepo.git'' does not appear to be a git repository Background: We have a Windows 7 machine set up ...
6
votes
2answers
4k views

Git push over http (using git-http-backend) and Apache is not working

I have desperately been trying to get push for git working through the "smart-http" mode using git-http-backend. However after many hours of testing and troubleshooting, I am still left with error: ...
30
votes
7answers
9k views

Non interactive git clone (ssh fingerprint prompt)

I want to clone a repo in a non-interactive way. When cloning, git asks to confirm host's fingerprint: The authenticity of host 'bitbucket.org (207.223.240.182)' can't be established. RSA key ...
2
votes
2answers
1k views

Mod_pagespeed, Varnish and Apache cache issues after new code pushes

I have a rather strange issue. In my environment we are running a load balanced cluster of 8 apache servers with a master-master MySQL backend. In front of apache we have Varnish in the cache layer. ...
49
votes
14answers
19k views

GIT as a backup tool (am I a silly person?)

So I was in the shower this morning thinking about stuff, and I had an idea which may be terrible or may be brilliant I'm not sure. On a server, install git cd / git init git add . git commit -a -m ...
0
votes
1answer
8 views

Apache ScriptAliasMatch to all sub directories ending with _git

I am trying to match all sub directories under a document root that ends in _git and then divert to the git http cgi scripts I currently have: ScriptAliasMatch ^/*/*_git/$ ...
7
votes
2answers
6k views

debian: FATAL -> Failed to fork

First time in my life I have something like this: root@peklan:~# aptitude install git-core No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and ...
1
vote
0answers
20 views

How to use mod_proxy to proxy one call to multiple endpoints?

We are in the process of migrating jobs from an old Jenkins CI server to a newly built one. In the meantime most of the repositories on our Git server (Stash) are configured to invoke a git-hook on ...
0
votes
0answers
117 views

how to disable email confirmation in gitlab in private network

Recently I installed the gitlab for my LAN. When my users are trying to create their accounts they are getting email confirmation message. Now my question is I want to disable whole email confirmation ...
3
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
37 views

Is it a security issue if I have GIT working copy in www?

If I checkout a working copy into the www root of my site, would that be a security vulnerability?
0
votes
0answers
54 views

How to get git repository from Jenkins on Linux using ssh user name and password

I installed Jenkins and started successfully in EngTemp_server which Linux mint. I installed git plugin and restarted Jenkins I created a new project called Devices and for source code management I ...
2
votes
2answers
171 views

How to set up a secure Git repository?

I followed this tutorial to set up a git repository on an EC2 instance. http://git-scm.com/book/ch4-4.html. Basically, I add a new git user and include my public key in authorized_keys. After setting ...
5
votes
2answers
781 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 ...
2
votes
1answer
504 views

Installing a package (e.g. git) without internet access on SLES

I am trying to install git on a SUSE linux server that, to all intents and purposes, doesn't have internet access. It would appear that I also need to install some dependencies for git. Is there ...
0
votes
1answer
997 views

hostname of minion in salt command

I'm fairly new to salt so it's possible that I just missed something, but I can't figure this out. I am using salt as a command execution tool (no config management so far). I couldn't find a way to ...
1
vote
0answers
82 views

Gitlab Omnibus, can't view most commits (500) and very slow

I'm running GitLab 7.9.2 c46d4f5 (Omnibus) on Ubuntu 14.04 On a little over half of our commits when someone navigates to a commit gitlab returns 500 We're sorry, but something went wrong Also, on ...
106
votes
8answers
123k views

How do I share a Git repository with multiple users on a machine?

I have a Git repository on a staging server which multiple developers need to be able to pull to. git-init seems to have a flag very close to what I'm looking for: --shared, except I'd like multiple ...
0
votes
1answer
126 views

Gentoo emerge packages conflict

I'm trying to install git on my Gentoo webserver. The command "emerge dev-vcs/git" returns the following result : * IMPORTANT: 12 news items need reading for repository 'gentoo'. * Use eselect ...
19
votes
6answers
5k views

Where's the conventional place to store git repositories in a linux file system tree?

If I make an analogy with the hosting of a web server, I would say that git's data should be in /var/git, so my git repository would be in /var/git/myrepo Q: Is that the right guess ?
0
votes
1answer
33 views

offical way of backing up live git

I can't find an official guide on how to backup a "live" git repository. The very first result in google when you search something like that is: ...
3
votes
2answers
723 views

How to put FreeBSD configuration under Revision Control?

I heard once that in Linux it's possible to put whole /etc/ directory into repository. In fact i already done too much crap on server and I quite disoriented what exactly is setup in there at all. ...
2
votes
3answers
2k views

How can I get the git-all meta package on RHEL 6.2

I believe I'm missing some of the common git addons, such as gitk, and I suspect it is because I installed git using sudo yum install git as the information for that package lists: : The ...
0
votes
0answers
25 views

Chef Repo Contents and Synchronization

I've been using chef-solo to provision development Vagrant VMs for over a year now and now we're looking at managing our full infrastructure (alpha, staging, production) using a locally hosted ...
1
vote
0answers
36 views

Gitlab custom hook issues

I am implementing a custom gitlab hook. While some one pushes in master, I want to update a specific file. Then commit this change and push it to remote origin. The hook looks like below: ...
0
votes
0answers
23 views

Git server in jail: working directory in different jail

I'm setting up a FreeBSD server with five jails. Some of them are web servers with web apps. Some of those apps should be updated using git. I was now thinking about running the git server in his own ...
0
votes
2answers
43 views

Can I use gitlab to monitorize existing repos, keeping old bare git urls?

I've installed Gitlab on my server and I don't know if what I'm willing to do is possible. I want to set Gitlab to monitorize my repos, with all the goodies that come with it, but I don't want to use ...
0
votes
1answer
37 views

Limit ssh access to only one Repo

I'm hosting multiple private repositories on bitbucket. I also have access to a private repository let's call it repo1, on bitbucket which is not mine but we pull from it on a server, let's call it ...
0
votes
0answers
43 views

Accessing Git Repository on OpenShift: passphrase not recognized

I am trying to deploy an application on OpenShift. In order to deploy it, I am made available a git repository where I need to push my application. That repository can be accessed only after providing ...
1
vote
2answers
44 views

deploy development and master branch on server with git

I´m using git for a django webproject. I have a bare git repo on my server and push my commits from my local machine into it. I also have a testserver on my local machine but I would like to have 2 ...
0
votes
0answers
101 views

Unable to deploy laravel application on OpenShift

I have git pushed my entire Laravel code base for the application that I had created on my localhost to my OpenShift server. But nothing seems to have come out of it. The webpage is still blank. Can ...
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", ...
1
vote
1answer
2k 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 ...
0
votes
3answers
484 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
766 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 ...
0
votes
1answer
582 views

Installing GitBlit GO as Service in Ubuntu Server 14.04

I downloaded it (version 1.6.0), unpacked it in /opt/gitblit (ubuntu server 14.04.1), configured http to 8280 and disabled https assigning 0 (I expose it by https using nginx). I created gitblit user ...
1
vote
2answers
53 views

sshd: logging client's public key

I need to run an SSH server and log the IP & public key of any client that attempts to connect (without actually granting access). The use case is this: I deploy this web app to a remote host ...
5
votes
1answer
1k views

Multi-server Deployment strategies - Git on production servers?

Main question: Is deployment using Git on production servers a good strategy? Many, many deployment strategies I see revolve around having Git on your servers (dev, staging and production). The ...
1
vote
0answers
61 views

How to set up a two-way Git mirror?

The Microsoft .NET Core CLR GitHub repo: https://github.com/dotnet/coreclr It mentions on that page that it does two-way Git mirroring between internal Microsoft servers and GitHub. I'd like to set ...
0
votes
1answer
58 views

Capistrano 3 hangs in git:check

I'm trying to deploy to a new ubuntu 14.04 box with cap staging deploy, but capistrano hangs during the git:check task: GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/<app_name>/git-ssh.sh /usr/bin/env git ...
-7
votes
1answer
92 views

How to install git-daemon on red hat enterprise 6 [closed]

I need to install git-daemon on Red Hat enterprise Linux 6.2, with http support. What are the correct package to install? It is necessary to create a specific user or group? I'm looking for a simple ...