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

4
votes
1answer
426 views

Why every time I run gitk from a Mac OS X Terminal it opens in background?

Every time I run gitk from a Mac OS X Terminal it opens in background. In other words, gitk is always shown behind the Terminal window. Actually, gitk is the only tool manifesting this strange ...
3
votes
1answer
309 views

SSH: “no such identity”

I'm having a very peculiar problem getting SSH to work on my Linux box. I have a passwordless git user identified by an OpenSSH key. If I attempt to ssh into it from either the same or a different ...
3
votes
1answer
1k views

GIT Identity file not accessible: No such file or directory

Host github.com git HostName github.com user git IdentityFile ~/.ssh/github //I've tried also /home/freinn/.shh/github There's no /home/freinn/github file created, have I to create it? That's the ...
2
votes
1answer
36 views

GIT via OpenSSH in Powershell is fine, so why can't I connect in plain cmd console?

when I run ssh user@servername01 ...under powershell it connects without a problem, however when I run the same command under a standard cmd prompt I am prompted for a password (no password is set ...
2
votes
1answer
31 views

Get git-repository commit into different git-repository branch

Consider the following setup: One Repository1 sits on Bitbucket. A local working copy is situated on my machine. I change files locally, commit and push to Repository1. Changes in Repository1 (on ...
2
votes
1answer
51 views

Multiple user ID matches in gpg

My GPG secret keyring contains multiple keys with the same email address. Although I can set the global default key easily enough (with default-key) some tools I use (for example, git and the Debian ...
2
votes
1answer
228 views

git tag with gpg-agent and pinentry-curses

When using gpg-agent with git tag -u, I'm getting the following error immediately: gpg: cancelled by user gpg: skipped "my@email.com": bad passphrase gpg: signing failed: bad passphrase error: gpg ...
2
votes
1answer
89 views

GitStack - “Forbidden” after installation

Was looking for an easy Git-stack to install on my Windows server. Found GitStack which would be perfect for my own projects. The only problem is that it throws me a "FORBIDDEN" error after I ...
2
votes
1answer
97 views

Update the remote of a git branch after name changing

Consider the following situation. A remote repository has two branches master and b1. In addition it has two clones repo1 and repo2 and both have b1 checked out. At some point, in repo1 the name of b1 ...
2
votes
1answer
65 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 ...
2
votes
1answer
848 views

How to merge conflicts in Visual Studio 2012 using Visual Studio Tools for Git

I have VS2012 with Update 2 installed. I've installed Visual Studio Tools for Git. Now I want o fetch changes from the remote repository, but they are in conflict with my local changes? How can I ...
2
votes
1answer
709 views

git fatal: pack has 1 unresolved delta (index-pack failed)

I have a VERY strange and not so covered issue with a specific Windows Build Server (Jenkins Slave). In Jenkins I have a Job that pulls the latest code from a specific branch. The actual command the ...
2
votes
1answer
240 views

TortoiseGIT and sftp

I have a server which I can't modify/install anything on that. the only way that server gives me is to use sftp protocol to connect to the server and modify the files. I have access to the server ...
2
votes
1answer
129 views

Unable to clone bare repository with Git

I've created a bare repository on an external hard disk in path /media/Segate/Repos/project01.git Then I've added and commit the latest version of my project sources to this repository. Then I ...
2
votes
1answer
27 views

I want to replace my git local repository with the repository I am forked to.

I do not want to merge because this is the problem. Let's say my repository looks like this: (letter's are commits) A B C D E F G 'A' is the head. And I have two commits ('E' and 'C' that I want to ...
2
votes
1answer
293 views

git over webdav http-push-failed error

I'm trying to set up git via WebDAV, the idea is to host it on my NAS where I cannot install any software, so I can't really use smarter transports. Now clone works, but push does not: I get ...
2
votes
1answer
354 views

Virtual host with a directory out of the DocumentRoot

I am using Git in C:\Users\MyUser\repository. I would like test the app with an Apache server although I have a server running right now and I need a virtual host. How would I configure a virtual ...
2
votes
1answer
1k views

code.google.com: git: fatal: remote error: Repository not found

I have created a new repository in code.google.com, generated the code.google.com password and updated my ~/.netrc with machine code.google.com login <email-id> password <password> As ...
2
votes
1answer
213 views

Git, Powershell, %HOME% and multiple repos

I'm going to start off by saying that I'm not particularly good with either git or Windows. However, I've been successfully using msysgit on Windows 7 for a while now, keeping track of a number of ...
2
votes
1answer
3k views

“Could not resolve host: github.com” error while updating Homebrew after installing git

I'm using OS X Lion (10.7.2). I installed Homebrew on my Mac, and I executed the command below. $ brew install git and then: $ brew update error: Could not resolve host: github.com; nodename nor ...
2
votes
1answer
383 views

Trouble implementing ssh-agent forwarding across ssh and then su

I've got a web server with a dedicated unprivileged user who runs the apache instance on the box. The php code for the app the web server runs is in a private github repo that I occasionally need to ...
2
votes
1answer
203 views

Problems with git and bundler

I'm trying to set up Gitorious on my Server with this tutorial and having problems over problems with gem/git. After fixing a lot of libs and dependancies, bundler now won't work with git ...
2
votes
1answer
243 views

How can I synchronize and backup a large number of git repositories?

I have a number of git repositories which I would like to keep synchronized and backed up. By synchronized, I mean that I work off of several different computers and want to always use the latest ...
2
votes
1answer
923 views

git - recover deleted files from a prior commit

I accidentally deleted some files in a prior commit and would like to recover them. How can I do this? I ran this and found exactly what I was looking for: git whatchanged --diff-filter=D At the ...
2
votes
1answer
124 views

Git SVN rebase to tags only

I'm extending an open source project with additional functionality. So I'll be basing my code on the released version of the source code. The open source project uses SVN and I uses Git. How would I ...
1
vote
1answer
95 views

Is there a way to edit a commit message in github?

Is there a way to edit a commit message after committing and pushing to github? I see that there is a 'add a note' as well as inline commenting, but no actual editing of a commit message. There is ...
1
vote
1answer
54 views

Unable to clone Git repository using Visual Studio Online

I'm trying to clone WinJS to my Azure Web Site using Visual Studio Online "Monaco". When I type git clone https://github.com/winjs/winjs.git in the online console I get the error Can only clone a git ...
1
vote
1answer
209 views

How to install Ultisnips with Snippets on Linux?

I'm using Slackware and trying to install and use Ultisnips. I use Pathogen and the documentation says the following: > Using Pathogen: UltiSnips-using-pathogen If you are a pathogen user, ...
1
vote
1answer
35 views

Should a vagrant project be its own repo

So I've been working with Vagrant and I find it to be excellent but I'm wondering what the best or most common use of it is I imagine that there to be two ways to use it: The first would be to create ...
1
vote
1answer
140 views

How to list files modified by git pull/git merge?

in one of our projects, MysQL-Dumps are synced with git. One file for each table in the database. After pulling/merging the dumps are imported to the local database with a hook. The problem is now, I ...
1
vote
1answer
416 views

Trying to install and create new git repository for first time - I think disconnected work network drive is creating issue

I have windows 7 installed. C:\ is a local drive. H:\ is a work network drive that continually re-installs every time I boot. I have learned to just disconnect it whenever I am doing any coding from ...
1
vote
1answer
27 views

GitBash to create Git Repository in Network Places?

I'm running Windows XP SP 3 on my computer. I know how to use GitBash, but I don't know how to get to my Network Places area within it so that I can create a Git Repository of a folder within a ...
1
vote
1answer
265 views

How can I set up an http proxy that does its own basic auth on mac os 10.8.5?

Background Info: End Goal: Perform Gerrit code reviews in Rubymine rather than on Gerrit's rudimentary web interface. I attempted to connect with the Gerrit IntelliJ plugin with no success. I ...
1
vote
1answer
667 views

Configure Git to use Beyond Compare for image diff

Because we work with a number of sprites, the kind of specialised diff views provided by Beyond Compare would be ideal to see which one of 2 versions I'm after when conflicts arise. I've already ...
1
vote
1answer
273 views

How to set up git repo on my subdomain?

I have a centOS VPS and I have install git. However, I want to set up a git repo on a subdomain on one of the domains hosted on my vps in order so I can push there for testing. How do I do this?
1
vote
1answer
143 views

Use Ruby with no-root user in Gentoo

I am just started to update my Gitlab on Gentoo server (4.2 > 5.0). For new version Gitlab need to use Ruby with user 'git'. # check ruby version for git user ( 1.9 required!! ) # gitlab shell ...
1
vote
1answer
278 views

Gitorious can not connect to Active Directory (authentication.yml)

I have set up Gitorious. With the local database, everything worked fine. All my log and configurationfiles are included. The problem is when I want to visit gitorious.localdomain when I have ...
1
vote
1answer
372 views

Removing commited versions from git history

I want to permanently delete an old revision (or revisions) of single file from Git. Specifically, I want to delete from my public git server repo my initial published version of one single file, ...
1
vote
1answer
1k views

Can't clone from Bitbucket - Get stuck at “Cloning into…”

Maybe you can help me out. I have a server which I'm accessing thru a SSH tunnel. On this server, I want to clone a git repo from bitbucket, but bitbucket uses Port 22 as well, I assume. So how can I ...
1
vote
1answer
38 views

Git find line# of change

I want to find when the last time a specific css property was removed in source on my current branch (master). I wrote: git log -Smystring --source It gave me a hash. I fired up gitk and pasted the ...
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: ...
1
vote
1answer
102 views

Git says branches are up to date when they are not

I have two branches: 1.0, and IE-Fixes. I have no uncommitted changes in IE-Fixes or 1.0. Whenever I try to merge IE-fixes into 1.0, I keep getting told that it is up to date, but I know by looking at ...
1
vote
1answer
323 views

Show git diff HEAD~1 of file not touched in recent commits

In Git, to see the differences with a previous commit I run this: git diff HEAD~1 To see the commits related with a single file I would run this: git log --oneline file But if I run the ...
1
vote
1answer
404 views

How to properly copy/paste code from .pdf to a new file open on terminal?

I have a pdf containing the following code: #!/bin/sh echo echo “**** Pulling changes into Dev [Hub’s post-update hook]” echo case “ $1 ” in If I copy and then paste that code on my terminal, after ...
1
vote
1answer
101 views

Why is a branch not displayed in Msysgit?

I have a branch called "develop" in my repository (as confirmed by git branch -a). However, I do not see it in the history view of Msysgit. Is there something special about this branch that causes ...
1
vote
1answer
737 views

Git pull/fetch doesn't seem to work

I am using git over hamachi vpn and am able to clone the remote repository. However, git pull/fetch fails after hanging for a long time. The error message displayed is: Write failed: Broken pipe ...
1
vote
1answer
444 views

Can I recover history for a SVN repo from a local git-svn repo?

Our development team is currently using SVN to manage our web application development. The developer managing the SVN server is trying to migrate it from an older Win XP server to another server, but ...
1
vote
1answer
209 views

Good idea to split my personal git repo up?

I have many files in my home directory under git version control. My emacs setup, zsh source files, PhD thesis, etc. It's all in one huge git repo at the root of the home directory. (Of course the ...
-1
votes
0answers
21 views

Dropbox is slowing down right click context menu

I’m having an issue with Dropbox where the files in a git repository hosted in my Dropbox are showing a 3-7 second delay when I right click on them. I’ve ran a search on google without seeing anyone ...
-1
votes
0answers
28 views

Checked out git repository disappeared

I have a new MacBook from a new employer which i installed my basics on like Xcode, Homebrew, Gitbox etc. I just checked out their project from Github today and after about two hours the entire ...