Git is a distributed source control system.

learn more… | top users | synonyms

0
votes
0answers
7 views

How deploy api loopback to nginx server [on hold]

How deploy in url: api.example.com/api-1/ from my git repositories ssh://git@example.com:7777/home/git/api-1/ It is my nginx config: server { listen 80; access_log ...
0
votes
1answer
10 views

Git fatal: unable to write new_index file

We are a web development company that is transitioning to Git. Eventually we intend to run it fully locally but at the moment we have development websites hosted on a Linux server, which is also ...
1
vote
1answer
20 views

git clone ssh syntax difference?

Setup There is a host (H1) running gitlab-ce git server within a docker container (C1). The host's OpenSSH server runs on port 22 and provides a host key keyH. The gitlab container provides its own ...
2
votes
1answer
30 views

Git: expire ssh keys just like passwords expire?

I'm setting up git in a corporate environment. Git operations will be primarily though SSH using a single account with SSH keys used for access control. (http will be used for account configuration, ...
3
votes
1answer
977 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 ...
1
vote
1answer
36 views

Install a newer version of Git on CentOS 7

I like to enable Git "Push to Deploy" on my CentOS 7 server. Currently I only can get Git 1.8.3.1 via yum. I need a newer version. Do I have to build it from source or is there any repo I can use? I ...
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 ...
0
votes
0answers
18 views

Redmine can't see git repo from local gitlab server

I'm setting up a VM with centos 7, gitlab-ce and redmine. Everything is installed and running, but I'm unable to setup integration: When I try to access http://redmine/projects/myproject/repository, ...
0
votes
1answer
374 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 ...
0
votes
0answers
15 views

Git bash not recognizing anything config file parameters [migrated]

I have a hosting plan from the folks at HostGator. They allow SHH connections on port 2222. I'm using "Git Bash" on Windows to connect to HostGator via SSH. Works fine with this ssh -p 2222 ...
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: ...
0
votes
0answers
37 views

How to evaluate security risks of a git server installation

I need to evaluate the security risks of code being hosted on a virtual machine in a git repository. Its an area relatively new to me as a programmer. I want to setup the git repos, but I have to ...
-2
votes
1answer
25 views

noobq: what exactly -is- a git repository? [closed]

Im trying to learn git and I'm having serious trouble grokking the most fundamental concept: what exactly -is- a git repository? Or perhaps the more accurate question is what does a git repo actually ...
4
votes
3answers
971 views

Windows Apache 2.2 painfully slow executing CGI

I've recently set up Apache 2.2 and git on one of our Windows XP PCs for gitweb access using the setup at https://git.wiki.kernel.org/index.php/MSysGit:GitWeb As noted on the wiki, the only version of ...
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. ...
0
votes
2answers
24 views

Cannot create directory: Permission denied

I'm trying for the first time to set up GIT on a VPS following this tutorial. Part of the instructions are: cd /var mkdir repo && cd repo mkdir site.git && cd site.git git init --bare ...
0
votes
1answer
39 views

Serving a git repository with nginx fails with 403 Forbidden

I made a user git and placed an empty bare repository in his home directory /home/git: $ git init --bare test.git $ ls -l drwxr-xr-x 7 git git 4.0K Jul 18 12:51 test.git I want this repository to ...
0
votes
1answer
21 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
11 views

git server via ssh access alternate root (like svnserve -r root)

Is there any more elegant way to achive this? I want a dedicated git server for a multitude of (LDAP)users and multiple repositories. The repositories actually reside on a different server mounted ...
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 ...
1
vote
2answers
50 views

Permission Issues When Pushing to Git Remote

I've spent the past few days trying to set up a Git Remote on my server so I can push changes to my web-server to it. The problem is that I'm getting the following errors while doing it: $ git push ...
0
votes
0answers
17 views

Adding site from a folder few levels inside wwwroot, throws Error 404

I am completely new to IIS, I am trying all this on Windows Server 2012. What I am trying to do is, I have setup a Bonobo git server in iis which is at wwwroot/Bonobo.Git.Server level. I have created ...
51
votes
14answers
20k views

GIT as a backup tool

On a server, install git cd / git init git add . git commit -a -m "Yes, this is server" Then get /.git/ to point to a network drive (SAN, NFS, Samba whatever) or different disk. Use a cron job ...
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
39 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
24 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
1answer
37 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
32 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 ...
31
votes
7answers
10k 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 ...
0
votes
1answer
10 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
27 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
1answer
44 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
78 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
194 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
823 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
537 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 ...
1
vote
1answer
1k 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
103 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 ...
108
votes
8answers
126k 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
139 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
6k 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
40 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
731 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
36 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
52 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
28 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 ...