Git is a distributed source control system.

learn more… | top users | synonyms

0
votes
0answers
12 views

Automated deployment for application, webhooks or git-pull/restart [on hold]

I would like to hear you opinions about automated deployment from Github. The first solution is to write a cron script that will pull every minute and reinstall the application if changes was made. ...
0
votes
0answers
16 views

Apache 'Location' directive allowing access to non full paths

While working on an inherited apache setup which serves git repositories. I ran into an issue where 'Location' declaratives are set to specify authentication requirements for certain paths. But if you ...
0
votes
0answers
7 views

gerrit: override global permissions on a per branch basis

I have read the gerrit access controls am struggling the the following configuration with gerrit right now lets say I have the following permissions on the below references: refs/* - push = group ...
1
vote
2answers
15 views

Git post-receive hook hanging

I have a git post-receive hook which builds a Go program and runs it. The problem is that I'm getting all the output from the Go program and the git push "never finishes" the execution, getting ...
1
vote
0answers
27 views

teamcity, setup vcs root using bitbucket (git) behind proxy server

I've installed TeamCity on a Windows Server 2012 box behind a corporate firewall that requires user authentication via a proxy server to access the internet. I want to connect TeamCity to Bitbucket ...
1
vote
0answers
21 views

How to allow a user access to Git [closed]

I have a VPS with multiple users, running Ubuntu as the OS. I have my users chroot to there own directories. What I want to do is allow specific users or accounts access to Git without giving them ...
0
votes
0answers
36 views

Git Failed to connect to 127.0.0.1 port 8087: Connection refused

I'm installing the array database rasdaman, when I go to the step "make" , it begins to: git submodule update --init --recursive Cloning into 'third_party/googlemock'... but I don't know what ...
0
votes
1answer
45 views

No Git deployment for Ghost blog deployed to Azure

I have deployed Ghost to an Azure (Shared) web app using the One-Click option here. I am trying to get at the source code but there is no option for Git deployment in the Azure portal: I have tried ...
0
votes
0answers
75 views

Elastix 2.5 - Change settings via WEB GUI does NOT take effect

My PBX system is currently running Elastix 2.5, which has been installed & configured about three months ago. For maintaining purpose, I have used etckeeper to tracking changes in /etc folder, ...
0
votes
0answers
17 views

Making backup copy of whole git server with all repos

I have found that I can fully backup a git repo, backup a bare repo and much more. What I am interested in, though, is, how to backup the whole git server with all repos - daily, onto a server in a ...
0
votes
1answer
29 views

Gitlab omnibus fails to add ssh key

tldr: there is no /home/git directory where .ssh/authorized_keys should be. Is this the expected with Omnibus installs? System is Debian 8.2 I'm trying to set up ssh keys for my gitlab user. I can ...
0
votes
0answers
12 views

Git for Windows somehow ignores ssh config

I am creating a remote git repository server, though, there appears to be problem with cloning from Windows (Git for Windows - MINGW) which I am trying to debug. I have created the user on the ...
0
votes
1answer
20 views

How to merge Git and GitLab users

I am running a new GitLab 8.3 installation and I have imported my old/existing Git repositories. For commits that were created before switching to GitLab, it displays a link to that person's email ...
1
vote
0answers
19 views

Nginx / git / fastcgi server not working

I set up all the needed components for a Git server on Nginx using FastCGI and followed the combined suggestions of a few tutorials to end up with this configuration: server { listen 80; listen ...
0
votes
0answers
13 views

(Git-) Process not ending properly [duplicate]

I use a cronjob to call a git pull every minute: MAILTO="" */1 * * * * /home/pull.sh script: cd /home/webdir git pull origin release | grep -v "Already up-to-date" >>/home/git.txt This ...
0
votes
0answers
42 views

New Users on OSX Server Can't Access Command Line Tools

I've been running into an issue where newly created users on our Mac OSX Server (10.10.5) aren't able to access the command line tools (installed by Xcode 7.2) without manually editing their path. ...
0
votes
2answers
43 views

Backing up a complete Git server

I have a CentOs 7.1 and a Git Server installed on it. The Git Server is configured with SSH keys so users need a passphrase and a private key to connect to the server. There are currently 7 ...
1
vote
1answer
38 views

Automated app-deployment on cloud server

I've been hosting my applications at AWS EC2 and one of these days I tried OpenShift, what I liked of it was that the whole deployment process is automated, but I disliked the pricing since I know ...
5
votes
1answer
105 views

GitLab CE post-commit custom hook not working

I use GitLab Community Edition 8.2 and want to add post-commit hook. I created file path_to_project.git/custom_hooks/post-commit with rights $ ls -l1 custom_hooks/post-commit -rwxr-xr-x 1 git git 45 ...
-1
votes
1answer
37 views

Syncing MySQL backup with GIT tags

We have a large Yii2 / PHP application using MySQL database and versioned by GIT. The application is under continuous development as customer require new features. The database gets changed quite ...
0
votes
1answer
38 views

SSL certificate issue with git on pfsense

i have installed pfsense latest version and user are working on phpstorm and netbeans editors with git (https) and on gateway i have installed pfsense and configure transparent proxy using ...
0
votes
0answers
26 views

Not able to provide Git-Repositories with Apache to remote clients

I have X Git-Repositories on a Debian Server and want to provide them via Apache. I also want to use the Redmine Authentication with the Repositories, but I would be even great, if I could access the ...
0
votes
0answers
23 views

1Redmine Git 404 The entry or revision was not found in the repository

I have an Redmine Installation on a Debian machine. This should also include Repository intigration. For this case I am using SCM-Creator ...
0
votes
1answer
28 views

git deployment to aws elastic beanstalk multiple tiers

We're using git and eb to deploy our elastic beanstalk application on aws, but have just added a worker layer. Given that so much of the code is common (models, etc etc), it seems sensible to have a ...
0
votes
2answers
40 views

Symlinking config files

Our server has various services with it's own config file. Nginx, Dovecot, Postfix... All these config files are located in their own /etc/{service} directory. I'm trying to move these files to a ...
2
votes
2answers
73 views

Git clone from Bitbucket.org on EC2 server using SSH keys

We have setup a EC2 build server and would like to use SSH keys to clone the repo. Steps taken: cd ~/.ssh ssh-keygen -t rsa created config: host bitbucket.org HostName bitbucket.org ...
1
vote
1answer
35 views

Cronjob to push MongoDB Backup via git

Task: Create a Cronjob that executes a bash script once every night. The bash script should do a mongoDB Backup and push it to a Git Repo. So I created a cronjob as the root user via the crontab -e ...
3
votes
1answer
57 views

Professional workflows to Deploy via Git?

I have written a set of bash + crontab scripts that basically let me take a new linux server and deploy a git repo to it. All fine and good, but it's a rather piecemeal process and am wondering if ...
1
vote
1answer
409 views

Ansible with Github: Permission denied (Publickey)

I'm trying to understand the GitHub ssh configuration with Ansible (I'm working on the Ansible: Up & Running book). I'm running into two issues. Permission denied (publickey) - When I first ran ...
-1
votes
2answers
39 views

Downloading .sh file from git repository [closed]

I am trying to download a file from my git repository onto a VM, and I do so running the following command: curl -O "https://git.com/projects/RENG/repos/test.sh" -k After I run this command I see ...
0
votes
1answer
15 views

Failure resistant git pull on a lossy and flaky connection

We have servers deployed in buses and trains with internet dongles attached. These servers at regular intervals do a git pull to update the codebase deployed on them. Now, due to lossy and flaky ...
0
votes
1answer
68 views

Configure Gitlab to work with a non bundled Nginx server using different port than 80

I have an Ubuntu 14.4 server which has Nginx on it, I installed Gitlab omnibus package on it which is bundled with it's own Nginx server, So for the sake of using only one Nginx server to save ...
1
vote
1answer
29 views

Mirror team foundation server 2015 git repo to bitbucket

I have a tfs 2015 server with a git repo. When a developer carries out a sync, I would like tfs to also push the changes to bitbucket git repo. Can anyone suggest any solution to this?
1
vote
0answers
56 views

Using git on os x 10.10 with samba

We have a development environment set up where we have two local machines (Macs with osx 10.10) and a linux box (Dev server) running ubuntu 14.4. Samba has been set up in order to share files ...
1
vote
0answers
166 views

Debian/Apache - Set up a git server + gitweb without virtualhost

I'm struggling to set up a clean and working git server with gitweb without virtualhost. Software Debian 8 Apache 2.4 Initial setup mod userdir activated Apache DocumentRoot is ...
0
votes
0answers
37 views

Rancid - one git commit per file instead of batched commit

I am running a Rancid 3.2 instance on Oracle Linux UEK 6 which tracks the configuration of N network devices. I run an hourly cronjob that kicks of Rancid to inspect the devices, detects config ...
0
votes
1answer
224 views

Jenkins: use ssh-agent and git plugins together

So, I have the following situation: a server with dedicated users for each project (e.g. foo) and a jenkins server which runs as a jenkins user. I've generated an SSH key pair for my foo user and ...
3
votes
3answers
4k views

File permissions issue on OS X El Capitan and SMB share

Since we upgraded to OSX El Capitan we experienced some strange file permissions errors with our SMB server. We have a ubuntu server machine hosting our working files over a SMB shared folder to each ...
0
votes
0answers
127 views

Jenkins User Credentials Not Showing In Project

So I have Jenkins-CI running with the plugins: Credentials Credentials Binding Git First what I did in order to authenticate Git with the remote repository, is I added credentials to the server to ...
1
vote
1answer
126 views

Puppet: how to install git package from Debian wheezy-backports?

I am using the Apt module (https://forge.puppetlabs.com/puppetlabs/apt) and have added an entry for the Debian wheezy backports repository: apt::source { 'wheezy-backports': location => ...
0
votes
1answer
35 views

Using an HTTPS/SSL Certificate to establish the authenticity of an SSH session

I've just registered my website so people can accesses by HTTPS (and will be forced to, HSTS & redirects are part of configuration). It's set up with GitLab. I can access my repositories via ...
0
votes
1answer
68 views

pm2 throws error in git hook

My Server throws an error if the following git post-receive hook is called: #!/bin/sh # pm2 start main.js --name powerapp If the command is entered by one by one into the terminal it will work. So ...
1
vote
1answer
77 views

Build meteor app in custom GitLab hook

How do I build a meteor app (do 'meteor build .') in a GitLab custom hook? The custom hook is run by the user git who does not seem to have any possibility to run meteor build. Therefore I want to ...
0
votes
1answer
95 views

Can I deploy a war or java web application into Azure with git?

I allways use control version to develop webs and apps. Now we will make an java web app and deploy it in Microsoft Azure and I've seen that you can upload content with git. But in the case of java ...
0
votes
0answers
21 views

Change Git server path

I have a Ubuntu 14.04 system with Git installed. I use it as a Git server for some of my code projects. To get my repository I currently have to use the Repository URL ...
1
vote
0answers
100 views

Enabling SSH for deploy of a bitbucket git repo

I'm trying to deploy my git repo to my server. To make this work I first needed to setup ssh on my locale computer and on my server. for bitbucket I followed ...
0
votes
0answers
26 views

deployment tool with feature branches

I would like to use a deployment tool that allows me to deploy feature branches, i.e., I would like to deploy every branch of my Git repository. In all deployment tools (e.g., Jenkins, Go, ...
0
votes
1answer
39 views

Using GIT to push to several node instances in docker containers

I am planning to setup a Docker environment with several docker containers for various services. These services include a few node instances of the same website. I develop on my local machine and ...
3
votes
0answers
263 views

Ansible git clone from private repo in Stash

For the life of me I can not figure out why I can not clone a private repo from Stash. Think I have tried: 1) Create 'ansible.cfg' with [ssh_connection] ssh_args = -o ForwardAgent=yes On my ...
1
vote
0answers
24 views

Bacula configuration management in git, without passwords

I'd like to to use git to start managing our Bacula configuration files, but want to keep out (or mask) the passwords in these files. I've considered: looked for a setting within Bacula that allows ...