Questions tagged [git]

Git is a distributed source control system.

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.

Git was originally authored by Linus Torvalds, the creator of the Linux kernel, and the official Git homepage is at git-scm.com

For git quick guide, see gitready.com. More information, see wikipedia

1127 questions
6
votes
1 answer

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…
Markus Kreusch
  • 161
  • 1
  • 4
6
votes
2 answers

How can I get "mirrored from" on a GitHub repo?

I noticed that https://github.com/apache/ant says "mirrored from git://git.apache.org/ant.git" (with a link) and I'd like to do the same. https://exyr.org/2011/git-mirrors/ seems like a good write up of the general technique (basically a cron job),…
Philip Durbin
  • 1,591
  • 2
  • 15
  • 24
6
votes
2 answers

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 repositories. Our instructions for OS X and Linux users…
larsks
  • 43,623
  • 14
  • 121
  • 180
6
votes
2 answers

Gitolite clone not working as intended

I am running a Debian system, and have recently installed gitolite using the DEB package. Here is my problem: I have tried to clone the gitolite-admin.git repository (which is used for configuring the gitolite installation for all repositories that…
invalidsyntax
  • 247
  • 2
  • 8
6
votes
1 answer

Git clone with user and password

I'm using Git on Windows with LDAP. No issue so far. When I'm cloning my remote repository I call: git clone http://user@host.com/name/.git and I got a prompt for password This is working. But now I will run a script and clone without password…
Klaus Meier
  • 63
  • 1
  • 1
  • 3
6
votes
2 answers

What are the steps to setup git-http-backend w/ Apache on Windows?

I would like setup a Git server using the "Smart-HTTP" approach. However, I'm having difficulties getting it to work in Windows, and I'm new to Apache. My httpd.conf, in part: SetEnv GIT_PROJECT_ROOT "d:/repositories" SetEnv…
Jordan
  • 163
  • 1
  • 1
  • 3
6
votes
1 answer

Is it possible to have a Git repo in Windows Azure?

Does anyone know if it's possible to have a Git repo hosted on Windows Azure?
tishon
  • 305
  • 1
  • 5
5
votes
1 answer

Gitlab: Git operations are extremely slow on EC2

EDIT: It turns out this is a Gitlab problem, however I still do not have a solution. I have a weird situation going on with two of my AWS EC2 instances. They are exactly the same in terms of OS, region, and instance type (both t3.micro), set up in…
Shreyas
  • 191
  • 7
5
votes
2 answers

any issues with file-copy Git Repo to another machine (and keep working from both)?

I want to copy all my git repos from my old machine to my new machine (both Ubuntu). I will keep using both machines... I am doing this primarily out of laziness (well: there are for some local branches at the moment, and convenient stashes at hand,…
Frank N
  • 600
  • 8
  • 18
5
votes
2 answers

Using Built-in Windows 10 sshd, cannot clone git repository

Windows 10 now includes a built in sshd server. That means I should be able to access my git repositories located on the windows machine with git clone ssh://myid@mywinmachine/myrepos/repo1.git However, the above is not working. I am…
V P
  • 151
  • 1
  • 3
5
votes
1 answer

Gitlab git clone using HTTPS - unable to get local issuer certificate

When I use git clone https://my.example.com/gitlab/java/repository.git, I get Cloning into 'repository'... fatal: unable to access 'https://my.example.com/gitlab/java/repository.git': SSL certificate problem: unable to get local issuer…
Justas
  • 221
  • 1
  • 6
  • 12
5
votes
2 answers

Salt top.sls does not update on `salt-run fileserver.update` with gitfs

I have a single salt minion connected to the salt master. I recently renamed a large .sls from 'webserver.sls' to 'jetty.sls'. I use a gitfs backend with pygit2 and ssh. I have only enabled the gitfs backend. /etc/salt/master: fileserver_backend: #…
Groomblecom
  • 104
  • 7
5
votes
1 answer

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, web-based code browsing but little else.) But the…
Mort
  • 166
  • 1
  • 5
5
votes
2 answers

how to disable email confirmation in gitlab in private network

Recently I installed the gitlab for my LAN. When my users are trying to create their accounts they are getting email confirmation message. Now my question is I want to disable whole email confirmation feature and everything. For that what file i…
ashok
  • 229
  • 2
  • 4
  • 10
5
votes
1 answer

EtcKeeper: Switching from bzr to git

I've been using etckeeper on my Digital Ocean droplet for sometime and have made numerous changes to the /etc since that time. I now realize that i've been using bzr all this time and would like to switch to git; but fear that i shall loose all the…
Quasaur
  • 165
  • 6