Git is a distributed source control system.

learn more… | top users | synonyms

1
vote
0answers
12 views

linking a local windows git repository to the aws linux git server

I want to create a git server on my aws linux server so that whenever I want to update my website in the public_html I dont have to manually transfer files to the server, I want to make use of git, ...
0
votes
0answers
11 views

How do I install git on Synology DSM?

While I installed git on Synology DSM 5.x, it seems that is not in PATH. It seems that the executables are installed in /var/packages/git/target/bin but this is clearly not in PATH. Root account ...
0
votes
0answers
18 views

SSH over WAN through reverse proxy to LAN git server

We have an URL to our external IP to our gateway that connects to a CentOS nginx reverse proxy behind which sits our Ubuntu Gitlab server on the company LAN Through this we currently have http access ...
1
vote
0answers
27 views

Automatically change remote user with sshfs

I have two remote servers, foo and bar. On both servers I have a user git (with different uid and gid). Both servers are running Debian distributions. Both servers have their each others' root ssh ...
2
votes
1answer
32 views

GitLab Automatic deploy

I will be creating a gitlab server at my school to host class code. I wish to make it so that every time any user pushes to gitlab it automatically deploys the project to ...
0
votes
1answer
31 views

Can't call “git reset” inside git post-update hook?

I have set up a git repository for my webpage (it's simple HTML, generated from markdown by Pandoc). The repository will only be updated remotely by me, and I have successfully configured it to work ...
0
votes
1answer
28 views

Gitlab - “Server refused public-key signature despite accepting key” on a valid key

I need some help with keys. On my windows 7 machine I have created a pair of keys using Puttygen in order to connect to a private gitlab site. In the gitlab I've added my public key to my profile. ...
0
votes
1answer
4 views

Git post-receive not working but post-commit does

Long story short, I created a test repo on github, cloned it locally on my linux machine. Created a post-commit hook with the following content: #!/bin/bash echo Test message Added perms 777 for ...
0
votes
0answers
29 views

GitLab SSH repo clone

My GitLab setup: System information System: Ubuntu 14.04 Current User: git Using RVM: no Ruby Version: 2.1.6p336 Gem Version: 2.2.5 Bundler Version:1.5.3 Rake Version: 10.4.2 ...
0
votes
1answer
23 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
30 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 ...
1
vote
1answer
77 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 ...
2
votes
1answer
43 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, ...
0
votes
0answers
47 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, ...
-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 ...
0
votes
2answers
61 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
55 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
17 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
80 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
20 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
32 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
69 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
40 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
40 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
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/$ ...
1
vote
0answers
32 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
619 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
47 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
114 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 ...
1
vote
0answers
140 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 ...
2
votes
2answers
258 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
50 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: ...
0
votes
0answers
40 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
85 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: ...
0
votes
0answers
37 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
73 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
56 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
65 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
57 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
147 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
65 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
83 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
78 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
140 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
132 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, ...
0
votes
1answer
6k 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 ...
0
votes
0answers
36 views

Issue with AWS receiving git commits containing large files

If commits have been made with large files then git push consistently fails with the following message: Counting objects: 36, done. Compressing objects: 100% (31/31), done. Writing objects: 100% ...
0
votes
0answers
72 views

Read-only access to a dir for a user in the shell, but allow git to write to that dir

The Environment: At work we have a shared web hosting account which allows us shell access to our server, but not root privileges. This means we have a single user in a single group and cannot create ...
0
votes
0answers
37 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
283 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: ...