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
222 views

Tunneling ssh via a SOCKS5 Proxy on Windows

I'm using Windows 7 over my 'restricted' campus network. I use Heroku Toolbelt to work with heroku projects, which inturn uses git and ssh on port 22. However, port 22 is blocked in my campus. Can i ...
4
votes
1answer
617 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
100 views

update git after upgrade to Mavericks

I've recently upgraded from Mac 10.6.8 (Snow Leopard) to 10.9.4 (Mavericks). I had git 1.8.5.2 installed on the old system and want to update it now to the latest version. So I uninstalled git with ...
3
votes
1answer
460 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 ...
3
votes
1answer
530 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
438 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 ...
3
votes
1answer
3k 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: ...
3
votes
1answer
2k 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
41 views

How to tell Git to use a different SSH config file?

I want to specify a lot of options for SSH when Git uses it. We're using ISPConfig, which sets the owner of the web users' home directory to root, which causes a lot of trouble, including that I can't ...
2
votes
1answer
329 views

dyld: Library not loaded: /usr/lib/libcurl.4.dylib curl SSL error

I'm not sure what happened to my system but I am having an issue with dyld/curl, affecting my overall computer performance. I am on Yosemite. I have a feeling it's the Conda openssl. How do I just ...
2
votes
1answer
137 views

Git :: A lot of untracked files

I've just added a new git repo on my machine and I've noticed an extremely messy git status. It's showing a bunch of files from my desktop, c:/, basically almost everywhere. It's going outside the ...
2
votes
1answer
359 views

Installed Mysgit for windows and Git bash is returning dev/null

I did an standard installation of git for windows. However when I opened git gui these what I've seen in my screen and as for git bash. Welcome to Git (version 1.9.4-preview20140815) Run 'git ...
2
votes
1answer
167 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
38 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
80 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
156 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
217 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
2k 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
2k 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 ...
2
votes
1answer
173 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
683 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 ...
2
votes
1answer
29 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
412 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
510 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
2k 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
267 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
4k 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
469 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
210 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
262 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
993 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
127 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
173 views

Make Git Bash open to root directory from custom link

I'm using rainmeter to make a custom dashboard for windows and ran into a problem making a custom start button for git bash needing it to open to my root directory. The odd part is I have gitbash ...
1
vote
1answer
337 views

How to do full version control on OneDrive (with git?)

I'm using OneDrive to store all sorts of files (not just Office files). Unfortunately, versioning isn't supported except for Office files. I'd like to do this manually, with git or svn or anything ...
1
vote
1answer
86 views

git ssh store password

I am using GIT via SSH using password-based auth (publickey is not supported due to server-side encryption that uses user password as encryption key). Is it possible to store the password locally ...
1
vote
1answer
386 views

How to create a user to for Jenkins to execute command as a root user?

When I create a Jenkins job with Git to manage the source code, I enter a local repository URL, it failed: Failed to connect to repository: Command"git ls-remote -h /myRepositoryPath HEAD" returned ...
1
vote
1answer
259 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
1k 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
174 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
163 views

How to setup git for RStudio projects on shared Windows folders

I have all my RStudio projects in a shared Windows folder, say //server/share. I can successfully create a project at //server/share/project, and when I do so in an empty folder RStudio populates the ...
1
vote
1answer
60 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
149 views

Automated git push attempt does not work - authentication issue

I'm trying to automate a very periodic git add/commit/push cycle using a shell script and cron under OS X 10.8.5. The script is as basic as one would expect it to be: cd /my/directory git add . git ...
1
vote
1answer
453 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
523 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
594 views

Git on Windows 8: “git-pull is broken?” error

When I run 'git pull' from TortoiseGit on my Windows 8 machine, I get the following error: fatal: 'pull' appears to be a git command, but we were not able to execute it. Maybe git-pull is broken? I ...
1
vote
1answer
458 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
668 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
39 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
153 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
566 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 ...