Git is a source control system that allows for many people to work on the same project simultaneously. It is distributed, makes it possible for many different branches of the same project to co-exist at the same time, and offers many other advanced features. For more information, look at ...
0
votes
2answers
25 views
Root only has read permission for /etc/ssh/sshd_config?
I'm trying to edit my /etc/ssh/sshd_config file as per these instructions to properly set up git on my Synology NAS:
http://www.wonko.de/2010/04/set-up-git-on-synology-nas.html (step 6)
However, when ...
0
votes
0answers
9 views
Git repository migration from windows to linux
I have migrated from repository hosting on WindowsServer+GitAspx to CentOS+git+apache,
trying to clone i get errors with packfile index SHA1 mismatch on every .pack file
Anyway to fix that or rehash ...
1
vote
1answer
72 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: ...
1
vote
2answers
35 views
Be able to pull from git without password on login or just run keychain which does it for me
I need to pull from Github all the time and I have a passphrase, but it's a pain, so I typically run...
ssh-agent bash
ssh-add ~/.ssh/id_rsa
<prompt and give passphrase>
git pull
...
And ...
0
votes
1answer
36 views
Error with git archive --remote <repo>
I installed a Git server with gitosis in Ubuntu 4.10 64 bits. The server works OK, but a user has asked me to run the command git archive --remote .
http://linux.die.net/man/1/git-archive
This ...
2
votes
1answer
69 views
Encrypt git repository on server (safe against theft of physical hardware)
I have a production server (Ubuntu, running 24/7) with a git repository and some client computers each with a working copy of this repository. In the client computers, simply using home folder ...
0
votes
0answers
5 views
Setup of Girocco can't find “git-index-pack”
I try to install Girocco following this guide and it runs through up until the point where the jailsetup.sh tries to copy "git-index-pack" - which isn't available in my system.
My setup is Ubuntu ...
2
votes
1answer
49 views
Too many git pulls at once don't work
I have a deploy script where I want all of my webservers to simultaneously perform a git pull from the same place. When only two servers do the pull simultaneously, there are no problems. Once I have ...
-2
votes
1answer
231 views
GIT ubuntu 12.04 [closed]
I was wondering if anyone has installed git and gitosis on ubuntu 12.04 if not what is the best version to go for on the new version of ubuntu?
Any recommendations on the best way to set up GIT are ...
6
votes
2answers
112 views
Making ssh easier for our Windows user community
I work in an academic environment where we are providing a variety of ssh-accessible compute resources. We also provide git repository hosting, and we require ssh for read/write access to the ...
3
votes
1answer
78 views
deploy git project and permission issue
I have project hosted with gitolite on my own server, and I would like to deploy the whole project from gitolite bare repository to apache accessible place, by post-receive hook.
I have next hook ...
1
vote
3answers
64 views
Accessing LAN IP address from outside
I have an SCM server connected to my office LAN which runs the SCM tools like git, svn, etc. The office router has been configured with 'Port Forwarding' so that the SCM server can be accessed through ...
1
vote
2answers
100 views
Can I deploy via Git to Rackspace Cloud Sites?
I was wondering if anyone knows of a way to deploy to Rackspace Cloud Sites via Git-push?
I contacted the Rackspace support and all they can tell me is that I might be able to as long as I don't need ...
0
votes
1answer
28 views
How do I get duo_security and git-shell to work together via SSH
I've configured my sshd to run duo security via the FORCE_COMMAND option in the ssh config. That means that every time I login via ssh the duo security checks kick in which normally is a good thing.
...
-2
votes
1answer
49 views
How do I manage ssh keys for multi-user machines?
I've got a situation where 40 users are going to come in and use fresh machines to work on git repos and push them to github. I'm trying to think of the simplest way to handle ssh keys. I see the ...
4
votes
3answers
118 views
Should I avoid using git to track individual files with separate history, such as in /var/named?
In January 2012 Randal Schwartz gave a talk called Introduction to Git that I very much enjoyed, but I was left confused about his admonition not to use git to track individual files with unrelated or ...
1
vote
3answers
47 views
git repo for dotfiles - clone to homefolder
I'm learning git, and the test case I'm using it for is keeping a repo of my linux profile settings (.bashrc .profile .tmux.conf etc)
on my main machine, the repo is created at the home folder:
...
0
votes
0answers
13 views
Msysgit GPG error during commit signing
I'm getting the following error on Windows with msysgit. Doesn't matter whether or not I am doing it from the command prompt or the BASH bundled with Git:
gpg: error loading `iconv.dll': The ...
1
vote
2answers
52 views
Linux user group configuration for Git bare repository
I'm using a Ubuntu box to host my bare Git repositories for developers to work off.
At the moment I'm creating a user account for each developer on the box because it doubles as a filestore and local ...
1
vote
3answers
56 views
Disabling `git commit` based on server time
Is there a way to disable git commit when the server time reaches 11am and re-enable when it reaches 2pm?
Or disable git push to all but a select number of users
1
vote
1answer
339 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
47 views
loacationmatch with git-recieve-pack not working
I am trying to set up git-http-backend on my apache2 server.
Right now it is working so far with suexec and a wrapper and all the stuff but without restrictions. I can pull and push.
Now I wanted to ...
0
votes
1answer
113 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 ...
0
votes
1answer
136 views
Using git on amazon ec2
Hi i have been exploring around ec2. What i have come across is elastic beanstalk allows users to maintain their applications without much overhead of the scalability. But there are some limitations ...
2
votes
1answer
172 views
beanstalk using php-git on windows client
I am trying to install beanstalk for php using git. I am using a Windows Client machine. I am done with the prerequisite installations , credentials setup. I am following the link
...
1
vote
1answer
58 views
Seeking clean resolution for zombie who caused by git fetch / ubuntu motd
I have jenkins and gitosis running on the same [Ubuntu 10.04] server. Jenkins fetches git commits from a repo served by gitosis (also running on the same server). Many repos, actually, since there are ...
1
vote
2answers
82 views
From SVN to GIT: Something similar to authz?
We currently have an SVN repository setup and want to switch over to GIT, but we're currently not sure what exact GIT setup will work for us.
We're currently using SVN (w/ Authz) + Apache (w/ WebDAV ...
3
votes
3answers
288 views
Git fails to push with error 'out of memory'
I'm using gitosis on a server that has a low amount of memory, specifically around 512 MB. When I try to push a large folder (happens to be a backup from an android phone), I get:
...
0
votes
2answers
208 views
from svn to git (+ LDAP + password-less updates + passworded access control)
We have an SVN setup and there are some things we dislike about it and some things we like about it. We want to move to git, but we're not sure exactly what setup will work for us. We're currently ...
1
vote
2answers
80 views
Multiple developers with a single Git account?
I've just joined an organisation that is looking to move to Git - Hooray! However, they want all the developers to commit using same user account - Boo! I'm having a hard time convincing them that ...
1
vote
1answer
56 views
git pull-push giving error
Hi i cloned a local repository on another server http://localipaddress/git/project . It created an empty repository. When i tried to pull from the repository, it gave me an error
Your ...
0
votes
0answers
37 views
bootstraping a SparkleShare project
I just tried SparkleShare as a possible replacement for dropbox/insynch. It looks quite promising, being based on open standards.
I was wondering if someone has gone though the process of ...
3
votes
1answer
138 views
UFW/IPTables: how to securely allow authenticated git access with github
This is how I setup my iptables with UFW:
sudo ufw default deny incoming (deny all incoming)
sudo ufw default deny outgoing (deny all outgoing)
sudo ufw allow out 53 (accept outgoing DNS traffic, ...
0
votes
0answers
284 views
SSH to Cygwin: “server refused to allocate pty”
I'm having trouble connecting to a Cygwin 1.7.11 instance. I get the error "server refused to allocate pty" when logging in via SSH.
As way of background, I'm in the process of migrating a working ...
0
votes
2answers
73 views
Large repositores (hg or git)
I'd like to use hg or git for repo with size in about 5gb. Are they work proper on repo with such a big size?
0
votes
2answers
113 views
What IIS authentication method to use with Git server hosted on IIS?
I have setup a WebGitNet MVC site under IIS on Windows 7 Pro 64-bit (not joined to a domain).
WebGit .NET: IIS Hosting for Git "Smart HTTP" using ASP.NET MVC
The code has no authentication ...
1
vote
0answers
89 views
Intermittently git push hangs over ssh to gitosis
I have an intermittent problem pushing to my git (gitosis) repository. Most of the time it works fine but when it doesn't work the push hangs. It seems to have done the majority of what it wants to ...
3
votes
2answers
47 views
How to build a Development Server that runs Git,Apache, etc?
I am fairly new at this but I want to build a development server with an extra computer I have. I have looked around on the internet on how to build one, however, many of the tutorials I found were on ...
1
vote
1answer
96 views
How do I change permissions and ownership after git-pull, to match folder?
The company I work for is using Git for deployment and because of this it overwrites specific permissions and ownerships. What is the best way to make sure that the folder ownerships and permissions ...
1
vote
1answer
62 views
Slow git on Mac OS X server: can it be helped?
We've been running git over SSH on our Mac OS X server. (It happens to be a Mini.) Problem is, it's frightfully slow. We often see speeds under 100KiB/s for cloning repositories from this server, and ...
2
votes
1answer
66 views
Syntax check cfengine files before updating git repository
I have my cfengine (2 and 3) files in a git repository fronted by gitolite.
Users of this repo have a pre-commit hook that will perform syntax/promise checks on the files as needed. This works fine.
...
9
votes
1answer
172 views
Can a very large /etc/hosts.deny slow down SSH connections?
I've been using denyhosts for a while and I noticed my /etc/hosts.deny is getting rather large. Denyhosts adds IPs to /etc/hosts.deny, and my denyhosts is configured to never purge IPs.
$ wc -l ...
0
votes
1answer
89 views
How do I deploy a public git repo to a hosted solution via command line?
I am using a personal project as practice for some of the more advanced things we're doing at work. One of the things I want to learn to do is to publish a project managed in a public git repo ...
1
vote
2answers
61 views
Standard Location for Git Repository on Ubuntu 11
What is the proper location for storing a central git repository on an Ubuntu 11.04 server?
I read this post and there appears to be conflicting information. This is related to www, but the idea is ...
0
votes
0answers
91 views
Cloning Git repo from server to local machine - is my user level to blame?
Server: CentOS 5.7
Local machine: Macbook Pro, regular terminal client
Command issued:
git clone --bare ssh://myuser@xxx.xxx.xxx.xxx/home/projectname/public_html ~/gitrepos/projectname.git
...
0
votes
0answers
106 views
Pushing to gitosis-admin changes permissions on .ssh/authorized_keys
I think I broke my Gitosis install.
I (root) had to do a local clone/commit/push of /srv/gitosis/repositories/gitosis-admin.git in order to give another user permission to do a remote clone of ...
1
vote
2answers
68 views
Moving a git server: should I make repos bare?
I'm pulling a bunch of company git repositories from an older host to our company git server. I started by just git clone-ing the old repos into the repositories directory on the new server. Soon ...
11
votes
2answers
324 views
git, nagios and hooks, corrupted git repo
Background
We're using nagios to monitor our infrastructure. We don't have the nagios configs under version control at the moment, and there are two of us that manage nagios configuration. As such, ...
2
votes
4answers
246 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 ...
1
vote
1answer
139 views
Seeking Wordpress-Apache conf that allows for dynamic subdir-to-site creation
Seeking Wordpress-Apache conf that allows for dynamic subdir-to-site creation. Specifically, want to create any of these /var/www subdirs on the fly:
/var/www/main
/var/www/siterev1
...