Git is a distributed source control system.

learn more… | top users | synonyms

-2
votes
1answer
36 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 ...
0
votes
2answers
3k 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
561 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
0answers
46 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 ...
1
vote
2answers
747 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 --...
1
vote
0answers
54 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 ...
0
votes
1answer
165 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
169 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 ...
-3
votes
1answer
67 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
70 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 ...
0
votes
1answer
17 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/$ /usr/libexec/git-core/git-...
1
vote
0answers
68 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 ...
3
votes
2answers
4k 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
1answer
58 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?
1
vote
0answers
253 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 ...
3
votes
2answers
2k 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 ...
1
vote
1answer
283 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: https://joeyh.name/blog/entry/...
1
vote
0answers
174 views

Gitlab custom hook issues [closed]

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: clone_repo()...
1
vote
2answers
200 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
133 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 ...
1
vote
2answers
83 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
268 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 ...
1
vote
2answers
88 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 ...
1
vote
1answer
417 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
246 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
262 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 ...
0
votes
1answer
453 views

Why do openssl and ssh of Git for Windows report different versions of OpenSSL?

On Windows Server 2008, I have an installation of Git for Windows (Git-1.9.4-preview20140929). Within a bash shell, openssl version reports version 0.9.8zb, but ssh -V reports Open SSL 1.0.1i. So, ...
6
votes
1answer
20k views

jenkins fails to connect to git repository

I can't configure the git repository url in a way, that Jenkins could access it. under "Project > Configure > Source Code Management" I set the Repository URL to "git@store:repositories/testproject....
0
votes
0answers
51 views

inconsistent behavior of files created by an archive / ssh / tar command

Working on a deploy script, I ran into issues that I cannot explain. We have a production server (Ubuntu server 10.04), a repository (Gitlab), and a development server (Ubuntu 14.04). I work on the ...
0
votes
1answer
467 views

NGINX + Git push = 403

I have Git repo on remote box, configured with NGINX + uWSGI. Nginx compiled with: # nginx -V nginx version: nginx/1.6.2 built by gcc 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC) configure arguments: --...
0
votes
1answer
392 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 ...
0
votes
1answer
87 views

/etc/nginx/client_body_temp/0000000001" has written only

I have bare repository under NGINX + spawn-fcgi. Now I'm trying add local directory to remote Git: $ git init $ git add * $ git commit -m "Initial commit" $ git remote add zeus http:/domain.com/new....
0
votes
0answers
74 views

SSH connection closes when entering password for repository I try to clone using git

I have a private repository that I store on Bitbucket, that I would like to clone to my Debian server. While I am SSH connected to the server, normally I would run: git clone https://myusername@...
0
votes
1answer
89 views

how to put server configuration in git on linux

I want to track random config files / directories from my server into git repository. I do not mean tracking the /etc, here are some examples: /etc/named.conf /etc/named/* /var/named/* /usr/local/...
1
vote
1answer
818 views

Configuration of git-http-backend with Nginx (returning PROPFIND 405)

I'm trying to configure git-http-backend over nginx and having some troubles. The actual result is that I'm getting a 405 error for the PROPFIND request: 192.168.1.45 - - [22/Feb/2015:16:50:46 +...
1
vote
1answer
158 views

Sync failure between Gerrit & Github for Windows client

I've set up a POC Gerrit server, and am able to push to it via the Git Command Line. I'm trying to set it up so that less experienced colleagues can use the Github for Windows client to sync commits ...
1
vote
0answers
116 views

Git Pull on CGI and Command Line have different results

I have an "after push" webhook on GitHub that calls a CGI script to update a Jekyll website. The script: user@server [~/_repo]# cat cgi-bin/githook.cgi #!/bin/bash echo Content-type: text/plain echo ...
0
votes
1answer
80 views

“git pull” fails, but only remotely?

When I try to ssh -C user@my_server 'cd /home/me/my_repo' it works. When I try to ssh user@my_server, then cd /home/me/my_repo' and then git pull it works. But when I try to ssh -C user@my_server 'cd ...
0
votes
0answers
748 views

How to deploy in amazon ec2 through bitbucket

I have a django project and have my repository in bitbucket and locally (windows 7). Now I want to deploy the changes to amazon ec2 instance (ubuntu 14.04) by doing git push and git pull. I did git ...
2
votes
2answers
8k views

Can browse, but can't ping

I am behind a corporate network. I am unable to use git, since it can't resolve server names fatal: Unable to look up someserver.org (port 9418) (No such host is known. ) I can't ping that server (...
1
vote
1answer
58 views

How does Bitbucket or GitHub save the repositories? [closed]

I'm asking this question because in my office we are about to migrate all our Repos from SVN to GIT. And we are trying to find which one will be the best option. We want to get GitHub or BitBucket ...
0
votes
1answer
440 views

GitLab push not possible and always results in asking for git-user password [closed]

I have a problem with GitLab. Everything is fine, but I can't push. It is asking me all the time the password of the user git. Is it a problem, that I first installed the Omnibus package and then ...
1
vote
1answer
708 views

Git clone over SSH access denied only from specific server

I have an Ubuntu 12.04 server inside my office network that is being used to host our git repos. The server is running Gitlab 7.1.1, and has SSH on a non-standard port. It works perfectly for ...
1
vote
1answer
83 views

How can I set up a build server that accepts git pushes (Heroku style)?

A lot of services designed for running lightweight apps on clusters (Flynn, Deis, Dokku) are following Heroku's deployment standard of adding a git remote and pushing to it when you want to build and/...
-9
votes
1answer
167 views

Push code from GitHub to (suppose) GoDaddy automatically [closed]

Not sure if this is the correct StackExchange site to post this question. Please guide me accordingly if otherwise. Assume that I got the code from my programmers and I reviewed it and pushed it to ...
0
votes
1answer
36 views

Getting the current git revision on openshift

I'm deploying to OpenShift with git push as specified. Now I'm trying to set up deployment notifications with rollbar.com, but rollbar needs the git revision to log which commit is being deployed. I'...
1
vote
1answer
195 views

Can you use Git to track changes to VirtualBox disk?

Can you track changes to a VirtualBox disk using a VCS like Git? If not what is a good way to use version control to track changes while configuring virtual servers. **I understand that git doesn't ...
-6
votes
1answer
95 views

Making Git repository [closed]

I have installed git version 2.2, but I cannot do "git stash" and 'git pull" on my directory. I am getting following error message when running the git stash and git pull fatal: Not a git repository ...
1
vote
1answer
662 views

git-http-backend and LDAP authentication, push error: requested URL returned error: 401 Authorization Required

My setup OS: debian git: v 1.7.10 apache (with suexec mode enabled) configuration with git-http-backend and LDAP authorization to git repos which works for clone operations, but not working for push ...
9
votes
1answer
5k views

Gitlab backup file location (Omnibus installation)

I have installed Gitlab using omnibus installation package. I took a backup using below command sudo gitlab-rake gitlab:backup:create Backup was successfully created. But I want to know the ...