Git is a distributed source control system.

learn more… | top users | synonyms

0
votes
0answers
12 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 ...
1
vote
1answer
15 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 ...
0
votes
1answer
13 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 ...
0
votes
0answers
16 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 ...
191
votes
18answers
233k views

How do I tell Git for Windows where to find my private RSA key?

My GIT setup runs fine in Linux, but when I try to set things up under Windows (using Git for Windows and TortoiseGit), I don't know where to put my private ssh key (or, better still, how to tell ssh ...
0
votes
1answer
35 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/* ...
0
votes
0answers
30 views

Apache 2.4 git integration

After a long fight I managed to cleanup all Apache configuration and authentication errors, but remote access to repo still fails: mcon@ariag25:/tmp$ git clone ...
1
vote
0answers
23 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 ...
1
vote
0answers
342 views

Elastic Beanstalk git aws.push taking a long time and more

I am starting to use the git aws.push command from within a git repository for a certain project we are currently working on. Within the root of the repo I have got the .elasticbeanstalk directory ...
1
vote
1answer
73 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 ...
4
votes
3answers
5k 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). ...
8
votes
6answers
6k 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 ...
6
votes
2answers
4k views

Git push over http (using git-http-backend) and Apache is not working

I have desperately been trying to get push for git working through the "smart-http" mode using git-http-backend. However after many hours of testing and troubleshooting, I am still left with error: ...
24
votes
6answers
6k views

Non interactive git clone (ssh fingerprint prompt)

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 ...
2
votes
2answers
1k views

Mod_pagespeed, Varnish and Apache cache issues after new code pushes

I have a rather strange issue. In my environment we are running a load balanced cluster of 8 apache servers with a master-master MySQL backend. In front of apache we have Varnish in the cache layer. ...
0
votes
1answer
1k 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
vote
2answers
1k views

pulling git-via-ssh repo via Puppet: “Could not create repository (non-repository at path)”

I'm trying to pull a git (github) repo via Puppet. I've used the official vcsrepo documentation and borrowed from the Fiesta post to come up with the following config: vcsrepo { "/tmp/": ensure ...
0
votes
1answer
17 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 ...
3
votes
2answers
2k views

Slow git clone and fetch

I setuped gitosis on a linux server following this tutorial: http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way We are using git on our windows machines with TortoiseGit ...
2
votes
3answers
348 views

git clone - fail instead of prompting for credentials

When cloning git repositories in automated tools - web front ends, CI systems, sometimes the git clone invocation opens up a prompt asking for the username and password (for example, when cloning a ...
2
votes
2answers
638 views

How to put freebsd configuration under Revision Control?

I heard once that in linux it's possible to put whole /etc/ directory into repository. In fact i already done too much crap on server and I quite disoriented what exactly is setup in there at all. ...
0
votes
0answers
8 views

How can i add special text format on github? [migrated]

I am trying to add special text format to github repo on README.md file but it is not rendering the text format the way i want it. I have attached images below. I want it to look like this BUT ...
2
votes
1answer
1k views

Configuration of nginx for git-http-backend on debian(-based systems)

I'm having trouble to get git-http-backend working using an nginx server on my Ubuntu 13.04 machine. Tried it with Debian 7 before but with similar results. Basically I followed ...
0
votes
1answer
78 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 ...
5
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
0answers
37 views

Git: Is not a repository

I have kubuntu 14. I installed gitlab, but whenever I try to access the repository using phpstorm, I get: fatal: 'root/test.git' does not appear to be a git reposito fatal: Could not read ...
0
votes
0answers
17 views

HTTPS Push on redmine_git_hosting

This is the set up: Ruby 1.9 Rails 3.2 Redmine 2.6.1 jbox's redmine_git_hosting plugin Trying to use git repo through HTTPS. Clone works fine. Push starts and hangs at Counting objects: 3, done. ...
1
vote
2answers
151 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 ...
0
votes
0answers
34 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 ...
1
vote
2answers
4k views

git ssh problems

I have a git repo I am trying to use this command on a remote. $ git push origin master ssh: connect to host port 22: Bad file number fatal: The remote end hung up unexpectedly. I am trying to do ...
1
vote
1answer
78 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
35 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 ...
2
votes
2answers
5k views

Failed to connect to repository - 401 on Jenkins + Codebase Git

I'm trying to get Jenkins to use Git as our SCM, and setting it up is being a bit of a pain. When specifying the Codebase Git repo to use, using the following format: ...
1
vote
1answer
25 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 ...
6
votes
4answers
5k views

Create SSH user with limited privileges to only use Git repository

I have a git repository hosted on my SunOS server, that I remotely use through ssh git clone ssh://myUser@mydomain.com/path/to/git Now I need to add more users to be able to access that repository, ...
10
votes
4answers
2k views

Deploying Files To Multiple Servers

We have a central repository of files in say server-1 at /srv/www. Then we have N number of servers as well. We want server-1 to be able to deploy its files in /srv/www to all servers as quickly and ...
0
votes
0answers
24 views

sharing writeable (gitolite) git repos as read-only over http

I have a number of repositories accessible thorugh SSH and managed via gitolite for writing. I would like to make them accessible read-only through a different URL over dumb HTTP (by symlinking the ...
0
votes
2answers
2k views

Git post-commit /post-receive hook not working [closed]

I have a Git repo one one server. i want that whenever an admin pushes changes to git repo, those changes may automatically be deployed to a folder on the same server, where git repo is hosted. As my ...
1
vote
3answers
3k views

ssh hostname returns “Bad owner or permissions on ~/.ssh/config” (chmod 600 not working with MingW)

This question is a near duplicate of Robert's question but after trying chmod 600 ~/.ssh/config I still have the same error. I've tried using cygwin and MINGW32 to do the chmod 600. ls -la returns ...
13
votes
5answers
1k views

Git commit auditing

I have a git server running over ssh and each user has a unix account on the system. Given that two users have access to a repo, how can I be sure which user performed which commit, since the commit ...
3
votes
2answers
2k views

Virtualmin & git integration [closed]

I've installed virtualmin on my VPS to manage my websites. It's working perfect and as expected nearly a year now. Recently I wanted to add some features to one of my sites, and I need git ...
-7
votes
1answer
54 views

Push code from GitHub to (suppose) GoDaddy automatically

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 ...
6
votes
6answers
1k views

How do I get transparent, efficient, file system snapshotting or versioning on ext3/4?

I've long thought about versioning file systems. This is a killer feature and I've looked at Wayback, ext3cow, zfs, fuse solutions, or just cvs/svn/git overlays. I consider ext3cow the model for my ...
0
votes
1answer
165 views

How to get support from GitHub? [closed]

To get this out of the way, I'm an established GitHub user. My configs are set and certs are in place. I can continue to push, pull, clone from GitHub normally. I created a new repo on the site (a ...
0
votes
1answer
17 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. ...
9
votes
4answers
17k views

How to setup Gitlab with post-receive hook?

I am using Gitlab on one server and would like to push my git repository on commit of the master branch to another webserver. So when I push a new version of the website the production server gets ...
0
votes
1answer
64 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.
2
votes
1answer
2k views

Error pushing to remote with git

I have a fresh Centos 6 server stood up and I have installed git version 1.7.1 through yum. I am using the smart http method through apache for access. When I try to push to the remote server this ...
1
vote
1answer
296 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 ...
-6
votes
1answer
44 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 ...