Git is a distributed source control system.

learn more… | top users | synonyms

0
votes
0answers
36 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
63 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
44 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
309 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
45 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
59 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
843 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
44 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
17 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
103 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
59 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
82 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
318 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
53 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
467 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
4answers
7k 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
261 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
317 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
43 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
111 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
157 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
123 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
22 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
205 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
33 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
47 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
1answer
314 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
28 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 ...
1
vote
0answers
51 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
111 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 CentOS6 Gitlab server on the company LAN Through this we currently have http ...
1
vote
0answers
94 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
2answers
515 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
63 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
2answers
1k 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
70 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
227 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
663 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
110 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
2answers
2k 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
1answer
205 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
249 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
35 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
496 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
43 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
680 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
44 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
153 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
164 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
57 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 ...