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
187 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
508 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
85 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
368 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
465 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
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
88 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
204 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
117 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
67 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
129 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
129 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
1k 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
363 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
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: ...
2
votes
1answer
153 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
28 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
362 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
433 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
245 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 ...
0
votes
0answers
25 views

Push commits to own repository in submodule

I have a big repository on a private where I work in and commit my changes. Now I depend on other repositories like v8, node and other ones. I tried to add them as submodule, but then I cannot change ...
0
votes
0answers
41 views

How to create a selinux context that merges two existing contexts?

I want to have a git repository available to both: the smart http transport and thus writable by apache - this is handled by the httpd_sys_rw_content_t context. the gitweb interface - this is ...
0
votes
0answers
19 views

Colorize only the changes and not the complete line in diff

I have to very similar files which usually only differ in the capitalization. Currently I'm using the default diff but seeing the actual difference can be hard. For example I compare files only ...
0
votes
0answers
30 views

only allow if “logged in user” == “directory name” in apache2

I have many git repositories that are served by http. Most of them are named after user names (e.g.: j.doe). Some generic repositories also exist (but contain no dots). Currently all allowed users can ...
0
votes
0answers
370 views

Cannot remove .COMMIT_EDITMSG.swp in .git folder

I have tried "rm .git/.COMMIT_EDITMSG.swp", however it is throwing the error: cannot unlink : permission denied What gives? I am using BASH on windows. Any help would be greatly appreciated.
0
votes
0answers
201 views

Google drive containing git repos?

I'm thinking of using a poor man's solution to backup my git repos (they are not huge). I have a notebook, no server/vps/nas at home. These are my pet projects, so 1-2 mbyte each, not a big deal. Are ...
0
votes
0answers
50 views

Zsh prompt produces an error

I have the default prompt for oh-my-zsh, which is great when I have a git repo, but if there is no git repo its actually failing instead of putting nothing. I trapped an ascii image to err just for ...
0
votes
0answers
15 views

Can I configure git reset|checkout -p to let me edit the reverse patch?

Let's say I have the following file committed in my git repository: $ cat a.txt a b c I make some changes and add them to the index: $ git add a.txt && git diff --cached a.txt -a -b -c ...
0
votes
0answers
17 views

Git authentication is being rather weird

When simply pulling some repos, I am asked to supply a username is password. I've changed my password to bananas in the prompt here for my safety. Anyway, this is what it looks like: Fetching ...
0
votes
0answers
48 views

Graphical interface to git with support for signed commits?

Is there any graphical interfaces to Git with support for gpg signed commits? I've tried the "Tools" -> "Add..." way of the builtin git gui that comes with git but that doesnt work with commit -S. ...
0
votes
0answers
91 views

Is there a text file format that Excel supports opening and saving directly?

I want to edit simple table data in Excel 2010, which is to be stored only in a flat text format (i.e. not a binary format like XLS or XSLX) which is viewable with notepad and can be read by a simple ...
0
votes
0answers
80 views

ssh does not try to provide private keys for github over ssh

I uploaded my public key to github and have my private key in ~/.ssh/id_rsa. Even after adding RSAAuthentication=yes and PubkeyAuthentication=yes in ~/.ssh/config, ssh does not seem to try any of the ...
0
votes
0answers
39 views

“git push” on a large commit crashes modem

I have a virtual server that hosts uncompressed git repos for various files. Since I have multiple machines, it's an easy way to keep everything centralized while taking advantage of the virtual ...
0
votes
0answers
105 views

Ask SSH passphrase only once for “chained SSH”

I have a master running Ubuntu and a Slave running Mac OSX 10.6.8. I set up the SSH keys. When connecting to the GIT repo directly from Slave, everything works well and I am not asked to enter a ...
0
votes
0answers
130 views

Issue committing files using GitHub app

I've been using the GitHub app for a while now, and recently it's given me some problems. My most recent problem has me up the wall. Here's what happened. I noticed that some of my files were messed ...
0
votes
0answers
70 views

Can gitlab be installed with Cherokee web server?

I've looked all over and can't figure out you could use Cherokee instead of Apache or Nginx for gitlab. I'd rather not run multiple webservers (and imagine that they could conflict anyway). I'm giving ...
0
votes
0answers
41 views

Git color ui uses green for both deletions and insertions

When enabling git color ui, the only color used is green. So in git diff I get green for both deletions and insertions. The same goes for git status where untracked files and unstaged files show as ...
0
votes
0answers
63 views

Not able to close Heroku app on Windows

I have heroku installed on my ubuntu 12.10. it works perfectly. I have a dual boot windows 8. I installed the heroku tool belt and when i try to clone my app to my local system, it is throwing an ...
0
votes
0answers
53 views

Git messed up my website folder

I am in australia and this is my university's website server. I wanted to add the files to git. So I created a repo in github and then on my server did a git clone of the repo, add *, committed and ...
0
votes
0answers
296 views

git status -s showing D for few files in the second column

I have a local git repository running on my windows machine. The remote origin is in github. After executing a git pull when I run git status -s command, it is displaying some files with D mark. But I ...
0
votes
0answers
114 views

Github local cached ip address is different then expected remote ip address

I cannot do a "Git pull" request without getting an error for public key (see below). git pull Permission denied (publickey). fatal: The remote end hung up unexpectedly Running the ...
0
votes
0answers
13 views

Available branch name vars in merge

I'm trying to do a config command for merging branches. I see there are some vars available like $BASE $LOCAL AND $REMOTE These vars contain the name of the file followed by the base, local, remote ...
0
votes
0answers
37 views

Is there a way to make TextMate remember its state when switching branches?

I'm looking for a plugin or bundle which enables TextMate to bind it's state to the current branch. By state I mean open tabs and open folders in the project drawer. Here is my scenario: working on ...
0
votes
0answers
337 views

How do I git-push to an FTP server?

Has anyone managed to do a git-push to a repository on an FTP server? According to the man page of git-push Git natively supports ssh, git, http, https, ftp, ftps, and rsync protocols. I can ...
0
votes
0answers
454 views

Setting up Git Redmine hosting plugin

I'm trying to configure the Redmine Git hosting plugin but I'm struggling with some difficulties in setting up the proper permissions to the web and git users. When I access the plugin settings ...
0
votes
0answers
2k views

Ubuntu:ssh: connect to host github.com port 22: No route to host

I am using Ubuntu 11.10 and followed the help doc at github.com to set up git and connect to github but when I got to step 5 of the set up ssh keys section :Test everything out , When I used this ...
0
votes
0answers
313 views

Unable to login using ssh PuTTY

I'm facing a weird problem with ssh login using PuTTY to "git.xxx.com". Weirdest thing is using same privateKey file I can login successfully with my Windows 7 machine, but not with my Win XP machine. ...
0
votes
0answers
232 views

How can I make FTP ignore Git Files?

Is there a way that I can have my FTP client ignore the .git directory? Is there anything like the .gitignore (.ftpignore) file with FTP?