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
503 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
71 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
349 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
451 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
70 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
173 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
108 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
37 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
65 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
125 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
115 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
990 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
350 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
148 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
354 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
421 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 ...
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
341 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
198 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
49 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
14 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
167 views

Git Extensions takes over 1.5 minutes to show a diff of a merge commit due to the diff with parent feature

Git Extensions diff is slow when looking at the diff of a merge commit between two branches that have significantly diverged due to the diff with parent being shown. The diff with parent was added a ...
0
votes
0answers
13 views

Conceal part of a git repository on the remote location

As I am beginning designing my own teaching material, I naturally started using git to keep track of changes and prevent unrecoverable data loss. So I have set up a big git repository with everything ...
0
votes
0answers
77 views

Git repository accessible by Windows & MacOS on same disk

I'm running MacOS X and have VMWare Fusion 6 installed with a Windows 8.x VM... using the shared folders feature of Fusion where Windows can see specific shared folders on the OS X drive. A shared ...
0
votes
0answers
33 views

backup / version control hybrid scheme

Any suggestions for how to implement something that's about halfway between version control and a backup system? Specifics: I've been playing around with git and mercurial, and discovering that ...
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
45 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
88 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
79 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
37 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
104 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
128 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
69 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
1k views

How can I limit the size of the Android source I need to download with repo sync?

I have been repo syncing the Android source, (& the CyanogenMod source on my AWS server), but they are so large (>30GB), that I won't get them before I leave for a country with an even worse ...
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
52 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
289 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
111 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
335 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
444 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
227 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?