Git is a distributed source control system.

learn more… | top users | synonyms

0
votes
0answers
3 views

Impossible configuration in gitolite?

I am banging my head on a wall with this one and getting nowhere. I hope that someone here has a clue or just confirm my impression that it's impossible to do. I am using gitolite 2.3 on an internal ...
0
votes
2answers
48 views

How to work with a single git repo on 2 servers: production and testing?

We have a single git repository on a test server (let's call it test1). The repository is very simple, just master no branches or anything fancy. The goal of this repo is to track changes to ...
3
votes
1answer
565 views

Elastic beanstalk access private git repo

I am trying to currently add an ssh key to my elastic beanstalk instances using .ebextensions commands. The keys I have stored are in my application code and I try to copy them to the root .ssh ...
0
votes
0answers
9 views

How do you git archive a branch using gzip with highest compression level?

I'm trying to git archive a branch using gzip with the highest level compression (9) but it seems to not compress at that level. Here is my command: git -C /home/user/example.com/ archive --format ...
25
votes
2answers
8k views

How to retrieve the last modification date of all files in a git repository

I know how to retrieve the last modification date of a single file in a git repository: git log -1 --format="%ad" -- path/to/file Is there a simple and efficient way to do the same for all the ...
-3
votes
0answers
13 views

Host key verification failed. fatal: Could not read from remote repository [on hold]

I am facing an issue while configuring the git lab. I have two systems called A and B (both are Linux). I have configured git lab on machine A and I can access from machine B via the browser. I can ...
0
votes
1answer
26 views

Jenkins/GitLab: How to automatically build the latest git tag?

I want to build the latest git tag in a Jenkins pushed to a git (GitLab) repository. A web hook for tag pushes is configured and working. My current try is to setup a parametrized Jenkins job, so it ...
0
votes
0answers
11 views

GIT-WEB ERROR: “404 - No projects found error”

"404 - No projects found error" is coming when start to browse. I added my error page http://postimg.org/image/r0pa74ynl/ When i access git server through cmd line i could clone as below ...
0
votes
0answers
13 views

subgit commit git -> svn also commits tip (trunk/)

Moving our VCS in-house and migrating from svn to git. Have set up GitLab CE and subgit (whilst migrating all users over to git). All seems to be working fine (including authors translation) however ...
1
vote
0answers
291 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
1answer
54 views

Debian 8 GitWeb page shows source-code

Recently I have started to set-up my own WebServer after buying a domain and planning to host my portfolio on it. But before that I needed a way to display anything at all on my domain, so first thing ...
1
vote
1answer
1k views

Installing GitBlit GO as Service in Ubuntu Server 14.04

I downloaded it (version 1.6.0), unpacked it in /opt/gitblit (ubuntu server 14.04.1), configured http to 8280 and disabled https assigning 0 (I expose it by https using nginx). I created gitblit user ...
0
votes
0answers
15 views

Forbidden return on gitweb Subdomain

My website (https://brentdijsselbloem.nl) has a subdomain: "git"(http://git.brentdijsselbloem.nl) to host my git repositories for my project group. One of the assignments is that I need to write a ...
1
vote
1answer
30 views

Deploy app by triggering `git pull` after commit

I have a git repo on a remote server (my own). I want to make sure that after a git push onto that remote server, a new instance of the node program is pulled in the local development server (then, ...
1
vote
0answers
15 views

Git Backup /home with other repos inside it [migrated]

I'm trying to make an automated backup of my /home directory. In theory this is simple by running this in a cronjob: cd /home git add . git commit -m "nightly backup" git push where push will push ...
0
votes
2answers
27 views

ansible git pull without storing the password on the server

When simply using the command line, the main strategy would be to use the cache git credential helper: git config --global credential.helper cache git config --global credential.username {{ gituser ...
0
votes
0answers
4 views

Permission denied when accessing SSH server [migrated]

So, a little background. I'm trying to host my own git server, and I decided to use SSH to log into it. I started two days ago, trying to configure SSH, to no avail. I'm hosting the server on my home ...
1
vote
0answers
11 views

How to Configure Gerrit for Git over HTTP

I've setup Gerrit on Ubuntu Server 14.04. Everything seems to be running correctly and I have users using LDAP to authenticate to the web interface and we've been pulling and pushing commits. I'm not ...
0
votes
1answer
2k 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 ...
-1
votes
0answers
12 views

Gitlab grant user access to only one repo

We have a git repo with ~10 repositories. I need to create a repo and a user who's got accesss only to this repo. I need to forbid access to any other repo for them. Our repos are mostly internal ...
7
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
1answer
1k views

Solaris 10 opencsw git package issue with bitbucket git hosting

Has anyone tried using `git' from opencsw package in order to work with bitbucket source hosting service (under solaris10)? I tried to use git as the bitbucket documentation explains, and - under ...
-1
votes
0answers
5 views

git - which remote branch is my local branch based on [migrated]

I have seen few posts saying that running git branch -lvv will show all your local branches and beside them, the remote branches your local branches are based on. But I do not see that happening. ...
4
votes
1answer
1k 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 ...
5
votes
5answers
6k views

Running git pull from a php script

I was trying the Perfect Workflow, with Git, GitHub, and SSH, but it seems i can't run git pull. I've tried git status and it's fine. When i git pull 2>&1 i get: error: cannot open ...
0
votes
0answers
8 views

Change location of BitBucket Application logs

How to change the location of BitBucket Application logs,As by default its created under atlassian-bitbucket/WEB-INF/classes/logback.xml: ...
0
votes
0answers
45 views

GitLab on CentOS 7 (not sending email) after applying recommendations

GitLab not sending mails and GitLab email notifications not sending have been attempted with no success. I have an GIT with GitLab as a web management setup. However, ...
-2
votes
1answer
32 views

Write-only git repository?

I have a situation where it would be really useful to have a "dropbox" git repository. That is, a repo that can be pushed to but not cloned or pulled from. None of the git server solutions that I have ...
135
votes
8answers
155k 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
0answers
16 views

Git GUI on Windows not seeing .git folder from Samba share

THE SCENARIO I am using Vagrant,Windows environment and running Ubuntu inside the virtual box for my development work. I have setup an instance of Samba server and I run the I access the virtual ...
0
votes
0answers
4 views

Can I search Gerrit for merged changes with a given number of +1s?

I need to search Gerrit for changes that have been merged but have had Code-Review +1s less than three times. So this is would not be returned by the search - Code-Review: +2 Alice ...
-1
votes
0answers
16 views

Can't checkout in git due to crlf issue [migrated]

https://gist.github.com/anonymous/cf5d69fd51eb54ca25657f66c3cec4b7 So I try and reset to HEAD, but it says I still have changes and I need to stash them before continuing. So I stash them but it ...
49
votes
7answers
19k views

Non interactive git clone (ssh fingerprint prompt) [duplicate]

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 ...
1
vote
1answer
41 views

How can I get Azure to use an SSH key when doing a node.js deploy via git?

I'm deploying a node.js app to Azure Web Services using git from my local machine via: git push azure master One of our npm packages is a private repo hosted on BitBucket. Without Azure having an SSH ...
1
vote
1answer
38 views

pull from github to digital ocean setup [closed]

Hi I have added a virtual host in my apache config files and set up a repo on github. I already have keys because I have other working repos set up. the vhost is working fine. I know because I used ...
7
votes
3answers
8k views

Using rsync from msysgit for binary files

I have three windows boxes that are connected to a linux box on my network in various ways (one's local to the network, one is a laptop and may or may not be local, and the other is my work desktop). ...
0
votes
0answers
18 views

How to capture configuration files from saltstack minion and store them on git?

I'm trying to use salt to manage the configurations from systems that have configuration files in many different locations (but within a given account). My intent is not only deploy the files in ...
39
votes
9answers
22k views

How do I prevent apache from serving the .git directory?

I have started using git for deployment of websites for testing. How do I prevent apache from serving the .git directory contents? I tried <Directorymatch "^/.*/\.git/"> Order deny,allow Deny ...
6
votes
5answers
3k views

How to store etckeeper repositories on a central server via git

I would like to have one central git repository for all my servers' etckeeper .git repos. Here the suggestion was to use a file in /etc/etckeeper/commit.d, which basically looks like this, assuming ...
1
vote
1answer
43 views

ssh and git pull from remote server

I'm trying to ssh from server 1 to server 2 and do a git pull from server 1 to server 2. So on server 1, I run the following command: ssh root@server2 'cd /root/.example; git pull origin master' ...
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. ...
-4
votes
1answer
102 views

Git corrupting Hyper-V VHDX [closed]

Hi I have created some Hyper-V machines (2 Ubuntu and one windows), exported them, and added them to a remote git repository. When I clone the repo on another machine, I can import and run the Linux ...
3
votes
1answer
311 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 ...
0
votes
0answers
30 views

Jenkins: Build all commits triggered by push

How can I make Jenkins build all new commits (not just the latest) when there is a push? Note: The push is the trigger for the Job
27
votes
7answers
10k 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 ?
1
vote
1answer
47 views

Commands not working “with_item” in ansible playbook

I am new to ansible and trying to write a basic playbook for mongodb backup with simplest method. here is what i am trying to do: --- - hosts: mongo tasks: - name: Mongo Dump command: ...
1
vote
1answer
74 views

git pull: Permission denied (publickey)

So I am trying to get git to work with my repo server (1.2.3.4) (debian) on my new server on AWS (4.5.6.7 / 10.0.0.111). My repo's .git/config [core] repositoryformatversion = 0 filemode = ...
-3
votes
2answers
84 views

Convert SVN repository to git [closed]

$ svn --version svn, version 1.8.9 (r1591380) $ git --version git version 1.7.1 $ git svn clone http://host/path/to/project/ Initialized empty Git repository in /home/user/to/project/.git/ Can't ...
1
vote
1answer
162 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, ...
11
votes
6answers
15k views

Yum doesn't install latest version of Git on Centos6

When I go to Gits download section it mentions that latest version is 1.8 and I can install it by yum install git on Fedora. I'm running CentOS6 so that command should also work for me, but yum tells ...