Git is a free & open source, distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

learn more… | top users | synonyms

3
votes
1answer
5k views

Unable to git clone over ssh

I created a bare git repository and pushed to as root. Then I ran su myuser and ran the following commands: $ whoami myuser $ mkdir t $ cd t $ git clone ssh://myuser@mybox.net:1234/git3 Cloning into ...
0
votes
0answers
145 views

git and remote security with Encfs [duplicate]

Possible Duplicate: How do i encrypt git on my server? I wanted to create a user on my server to use as a private repository. I'd like the files to be encrypted. Encfs will timeout after ...
10
votes
1answer
7k views

Ignore whitespaces changes in all git commands

I've found tons of sites that explain how to have git warn you when you're changing line endings, or miscellaneous other techniques to prevent you from messing up an entire file. Assume it's too late ...
1
vote
0answers
102 views

I am failing to 'git clone clutter' [closed]

While trying to build clutter from JHBuild, I get stuck at the stage where I have to clone it: $ jhbuild buildone clutter *** Checking out clutter *** [1/1] git clone ...
3
votes
3answers
3k views

I am failing to clone a git repo when behind a proxy

When I run git clone git://git.gnome.org/tracker, I get: Cloning into tracker... git.gnome.org[0: 209.132.180.173]: errno=Connection refused fatal: unable to connect a socket (Connection refused) ...
0
votes
2answers
703 views

Git Server Bash and SSH

I want to use Git over SSH with my Linode VPS running Ubuntu 10.04 LTS. Instructions seem pretty easy, infact given I had already setup my SSH key etc.. All I had to do was instruct my local ...
3
votes
3answers
3k views

Install Git on CentOS 5.5

I have added EPEL repo and here goes... # yum install git-core Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: mirror.team-cymru.org * base: yum.singlehop.com * ...
3
votes
3answers
612 views

For what purpose would perl* be excluded in yum.conf?

I am not an Unix/Linux admin. I was attempting to install git on our server, and after much googling and trial and error, I discovered that perl* is excluded in our yum.conf file, preventing perl-Git ...
5
votes
3answers
677 views

extracting “tag” information from git with a shell script

The vc bundle is a neat little package that extracts information about a git repo for easy insertion into a LaTeX document. It doesn't currently extract information about whether the current commit is ...
54
votes
9answers
3k views

Tips for putting ~ under source control

I want to put my home directory (~) under source control (git, in this case), as I have many setting files (.gitconfig, .gitignore, .emacs, etc.) in there I would like to carry across machines, and ...
13
votes
1answer
11k views

How to remove a file from the git index

How do I remove a file from a git repositorie's index without removing the file from the working tree? If I had a file ./notes.txt that was being tracked by git, I could run git rm notes.txt. But ...
3
votes
2answers
211 views

Specifying which git repo to use

I have a bash script, called cgit, that acts as git for one specific git repo (located at /.git): #!/bin/bash cd /; sudo git $@ > /dev/stdout I use it to keep track of imporant system files: ...