Git is an open source distributed version control system originally designed and written by Linus Torvalds. It is generally used to keep track of source code for software projects. As a DVCS, Git provides powerful help with branching, merging, and distributed development.

learn more… | top users | synonyms

5
votes
4answers
6k views

SSL certificate verification failure in Chrome, Heartbleed bug?

For some reasons I'm running into SSL problems since a few days. When trying to clone a git repository for example I receive the following error message: fatal: unable to access ...
0
votes
0answers
23 views

Prevent Git autocomplete listing remote branch names

I use msysGit/Bash on Windows with Git and I see there is a git-completion.bash file in C:\Program Files (x86)\Git\etc which I assume handles autocomplete in Git. When you type git checkout mas + ...
6
votes
1answer
400 views

How to list every file for every revision in Git (like Mercurial's hg manifest --all)?

Mercurial has a command to list every file that the repository has for every revision: hg manifest --all Is there an equivalent command in Git?
0
votes
0answers
8 views

Issues with file ownership after git push

I have a server at home running Ubuntu 13.10 configured as webserver and git repository. If I push my project from my system to the server a post-receive hook is executed that moves the files ...
1
vote
1answer
1k views

Mountain lion and git-completion

I have ML with Xcode installed tools (git coming from there). Later I've installed brew and install bash-completion, but git commands still not auto-completed. Brew has no such package. Google does ...
10
votes
5answers
5k views

Can not clone any git repository from github

Since the update to OS X 10.9.2 I am not able to clone any git repository from github.com If I run the git clone command I get the following error: git clone ...
0
votes
3answers
7k views

64-bit (x64/amd64) git client for Windows 7 [on hold]

Is there a 64-bit command-line git client for windows (with precompiled binaries)? I have been using msysGit (32-bit) but it will not store files larger than 2GB. I hear that this restriction does ...
0
votes
0answers
25 views

Github for windows not working after install

Today I have installed Github For Windows. I had installed Github For windows earlier and at that time it worked fine but due to some reason I had to uninstall it. Today when I installed Github again ...
2
votes
1answer
23 views

What does command 'git rebase' mean when no arguments followed?

Should ‘git rebase’ take at least one argument? What does it mean with just 'git rebase'?
1
vote
2answers
3k views

Setting up git, path errors when pushing/cloning from local to NAS

I'm setting up a NAS server with Git for the first time, so please forgive the noobish questions (it also means I am super thankful for any detailed explanations you can give me, because I am kind of ...
1
vote
2answers
2k views

How to auto commit to my git repository using cron?

I look into a lot of answers about this subject, but something is wrong here, let me explain. I create this script, to make my cron cleaner :) #!/bin/bash cd ...
0
votes
0answers
4 views

Running Git Ls-Remote with certificate in Windows

I am wanting to run ls-remote against a remote repository to find it's HEAD. I am wanting to do so with a private key for authentication, but don't want to store the certificate in my .ssh/id_rsa.pub ...
0
votes
4answers
112 views

Execute a command when vim exits

Is there a configuration I can add to a .vimrc file which will cause vim to run a command when a file is closed? For instance, suppose I'm editing a file that is under version control. Once I'm done ...
0
votes
0answers
6 views

GIT: how to share objects between two git repos which have almost the same history?

I have two remote repos A and B. B is separated from A not a long time ago, so they basically have the same commit history. Now I have a local clone of A, and added B as another remote, but when I do ...
0
votes
0answers
10 views

Idle TeamCity agents dont take compatible tasks from queue

I have new TeamCity 8.1.3 and one task in build queue and compatible enabled agent. But agent is idle. I tried to re-install teamcity, re-install buildAgent and install agent on another machine. ...
0
votes
2answers
97 views

installing GitLab on CentOS7 failing due to create on resource user

I am trying to install gitlab on a VM under VirtualBox running CentOS 7 I am following the following instructions: https://about.gitlab.com/downloads (for CentOS) I configured gitlab.rb to contain: ...
4
votes
2answers
4k views

Can checkout and track git branch, but cannot pull

So we have a branch in our git repo called creative_market. I run the command git checkout --track origin/creative_market which works fine. All of the changes that should be on the creative_market ...
0
votes
0answers
9 views

Configure Git in order to have one repository and different folders to be updated at the same time

I have a problem to figure out and was wondering how I can achieve this? I have 1 server with GIT and 1 project in a git repository. When I commit changes to the files, I need 2 different folders on ...
3
votes
2answers
2k views

Git — SSH Agent not working

The back story -- I've been using Git on this computer (Windows XP) for about 8 months with no problem. Suddenly, last week, it is no longer asking me for my username and password when I start Git up. ...
0
votes
0answers
12 views

how to avoid the x terminal forwarding

I use our remote server along with a team. apparently they made all the apps automatically do x forwarding. I know this b/c now if i simply want to run a git command git pull I get this error: ...
0
votes
0answers
9 views

Git only works partially (some git commands are found, other not)

Having some trouble with git today (worked lovely yesterday and can't figure out what changed) This is the scenario: The path is setup correctly and points to the git file, when using cmd OR the git ...
0
votes
1answer
17 views

How do I get the merge list with git?

When I try to merge a file, I get $ git merge origin/develop Removing t/table_statistic_grains_test.t Removing t/table_statistic_grains_calllog.t Removing t/table_statistic_grains_accession.t ...
0
votes
2answers
91 views

Installation of Git on Debian 7.4 fails

I tried to install Git (from source) on Debian 7.4, but the installation fails with the following message: Writing perl.mak for Git Writing MYMETA.yml * new perl-specific parameters GEN ...
1
vote
2answers
2k views

How to clone Git repo on my local server

I'm trying to use Git for the first time (I have used Mercurial before so I know the basic setup). Everything is ready on the server side with the following properties: User name: git Domain: ...
0
votes
0answers
9 views

Single directory for global git configuration files on Windows

I have a git repository that has my git configurations, i.e. config and ignore files. On GNU Linux I clone this repository to ~/.config since git respects $XDG_CONFIG_HOME. I would like to use a ...
1
vote
1answer
32 views

How to do linear git flow?

My dev shop has a preferred git flow like so: Checkout an issue branch (issue9). Solve issue (serve over port 80). Commit (git commit ...). Merge the issue branch into a local feature branch (cal). ...
89
votes
3answers
67k views

Tell git which private key to use

ssh has the -i option to tell it which private key file to use when authenticating: -i identity_file Selects a file from which the identity (private key) for RSA or DSA authentication is ...
3
votes
2answers
1k views

how do I add the 'tree' command to git-bash on Windows?

I'm using git-bash on Windows 7. I'd like to see a tree of the current directory. However: jcollum@DEVELOPER01 ~/Dev/express_coffee $ tree . ...
2
votes
2answers
361 views

how to get git on solaris webspace?

I'm renting webspace with SSH access and I want to host a GIT repository on it. The problem is that GIT is not installed on the server, which is running Solaris and therefor it is difficult for me to ...
0
votes
1answer
18 views

how come git bash can call java tools (xjc.exe) with unix paths but not cygwin?

From CMD.exe, I can run xjc as follows: xjc "c:/schema.xsd" -p abc -d "temp" From git Bash, I can run xjc as follows: xjc "/c/schema.xsd" -p abc -d "temp" As far as Cygwin goes, I can get it ...
12
votes
2answers
18k views

How can I push a Git repository to a folder over SSH?

I have a folder called my-project inside which I've done git init, git commit -a, etc. Now I want to push it to an empty folder at /mnt/foo/bar on a remote server. How can I do this? I did try, ...
1
vote
1answer
2k views

How do I pull big repos from git on windows without getting “Out of memory”?

I am using the Git Gui provided with the git client fromt he git website. The cygwin version has the same problem. error: git upload-pack: git-pack-objects died with error. fatal: git upload-pack: ...
0
votes
0answers
21 views

Git add file path completion not working with zsh on OS X

When trying to tab complete files with git add <partial-path><tab> the completion hangs. I have to quit it with ctrl-c. This is also the case for git rm. All other zsh tab completion seems ...
2
votes
1answer
1k views

Why Git keeps track of changes in execution permission?

If you have a file added to a Git repository and you change the execution permission (e.g. chmod 0755 file), Git tells that file has changed. This can be useful, but sometimes is a pain in the neck ...
1
vote
1answer
31 views

Some Git questions

I'm starting to learn GitHub, and I have a few questions: How do I remotely remove files from my GitHub repo but keep them on my local machine? How do I upload ONLY .c files when my directory also ...
5
votes
1answer
56 views

How can I use vim to view git diffs on Windows?

I want to use vim to view the output of git diff. I am running Windows 8 and I have vim 7.4 installed. I have, for convenience, created an environment variable VIMDIR set to Vim's install directory ...
0
votes
0answers
7 views

Synchronizing Tasks across computers in Eclipse Juno

I am using Eclipse Juno to develop some software. I am part of a bigger team that consists of a few other members. I want to know if there is some way to Privately have (something like a repository) ...
5
votes
3answers
3k views

Rescuing files and commits from “no branch” in git

I started working on some files I had in a git submodule under another project. However, since it was a git submodule it never checked out "master" and instead just checked out the head and placed all ...
1
vote
0answers
16 views

Git LF checked out as CRLF, marked as changed, checked back in as LF

I have a file in a project. The project is something that was passed to me and has a lot of CRLF/LF mismatching. I've added a rule in my .gitattributes to set the file to LF on commits eol=lf all good ...
0
votes
2answers
31 views

What are the implications of a shared git clone if the source repository is remote?

So, the a git shared repository seems to be more or less perfect for keeping folders with large blobs in sync. I have something like 700 GB of pictures and videos I want to distribute across my ...
0
votes
0answers
27 views

Synchronizing two Git servers between companies

There are two companies. Each one has a Git server running. If company A checks in some code this should be updated on company B server and the other way around. The two servers should keep ...
-3
votes
1answer
32 views

Move Git repo from hard drive to server?

I installed Git on my Windows PC and now I have several git repositories on my hard drive. I'd like to move the repositories to my Linux server, which already has Git installed. How do I do this? ...
23
votes
2answers
7k views

Can't remove remote branch in git

I'm trying to remove a remote branch with git: rpinson@rpinson:~/dev/charismanie$ git remote show origin * remote origin Fetch URL: git@github.com:raphink/Charismanie.git Push URL: ...
0
votes
1answer
64 views

Can't use homebrew installed git

I'm encountering a really weird issue when I try to use the latest version of git I just installed via homebrew. which git is pointing me to the homebrew install, but calling git returns the original ...
1
vote
0answers
34 views

Working git from the command line

So I use Github for Windows (that fancy GUI app) to manage my various git-based projects, but I've noticed that on my machine I can't use the command line git to do anything with my projects. From the ...
0
votes
1answer
351 views

Stop thumbs.db files in certain folders

I'm a big fan of folder+file thumbnailing, so I'm all for thumbs.db files. However, I'm working on a Git project, so every time I commit my git folder to the online repository, some thumbs.db files ...
1
vote
0answers
29 views

Git does not prompt for ssh key password

I have an ssh key which is password protected. When I attempt to SSH into a remote computer (ssh user@example.com), I get a little dialog which prompts me for the password. Once I have provided the ...
0
votes
4answers
1k views

no gitignore file in new rails app

I created a new Rails app using version 3.0.1 (in order to follow along with a tutorial using 3.0.1), but it didn't create a gitignore file. If I create my own, what ending should I put on the file? ...
1
vote
1answer
17 views

How can I put my skype notification settings in a public git repo

I maintain key configuration files in a public git repo - I'd like to put my skype configuration in it too, because I find the default configuration way too noisy. The newer version has started ...
2
votes
1answer
68 views

Git for Cygwin and file permissions

Why does git for Cygwin always get confused with file permissions? The file didn't change. TortoiseGIT doesn't think it is modified. DOS Git doesn't think it's modified. $ git diff README.md diff ...