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

14
votes
1answer
511 views

EGit (Eclipse) wrongly interpreting file names with non-ASCII characters?

I recently switched to using a Git repository within Eclipse (Juno SR2), using EGit. In our project, some file names contains umlauts and other special non-ASCII-characters. On the command line, git ...
0
votes
1answer
685 views

How to install tortoisegit

How to install tortoisegit without admin rights ?
0
votes
1answer
917 views

git difftool doesn't launch Beyond Compare from Powershell or command prompt

I'm trying to use Beyond Compare 3 as my diff tool with git. I configured git with the following commands: (source: Using Beyond Compare With Version Control Systems) git config --global diff.tool ...
2
votes
3answers
14k views

can't add folder in git

I add new folder (actually I cloned it from another repo, and forgot that), then I did some changes there. Additionally I did a lot of changes in another places, when I tried to do git add # Changes ...
0
votes
2answers
356 views

git emacsclient issues

I set my editor variable like so: git config --global core.editor "`which emacsclient` -t -s" and get this output whenever I want to edit the message during a commit emacsclient: aliased to ...
0
votes
1answer
42 views

Moving a folder of version-in-name files into a proper git history

I have a folder containing many files of the form svs_a.png, svs_b.png, svs_xyz.png, svs_something.png, ... svs_final.png. These are all different versions of the same file named according to the bad ...
4
votes
2answers
1k views

Customizing Powershell to look like Github for Windows' shell

I use Github for Windows and usually I use the "Open a Shell" here command which launches powershell with some custom settings. It makes powershell display extra information when I'm inside a Git repo ...
3
votes
1answer
807 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 ...
0
votes
2answers
135 views

GIT rm is deleting top level directory

below is directory structure: Top_dir --test_file Now when I do git rm test_file, since Top_dir does not have any other files git is deleting Top_dir aswell. Is it normal behaviour of git?
1
vote
1answer
350 views

Does creating a new branch in git create a new folder

I need multiple folders with the entire site sitting in it. DEV/Local LIVE So I already have my Dev/Hub branch and when I push into my Hub branch it auto pushes to live. This is dangeous as now any ...
0
votes
1answer
230 views

Network Hangs during a Git checkout

I have a local git configured in my server. People who are working, clones the git to their machine. Initially things were fine, Now when the size of data has increased, the Checkout causes the entire ...
1
vote
1answer
489 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 ...
23
votes
4answers
7k views

How can I enable colored output for OSX diff?

I need to diff two files (not two versions of the same file, they are however tracked by git, but that is unrelated) and I would like some colored output, how can I achieve that? $ diff file_1 file_2 ...
0
votes
2answers
104 views

How can I synchronise web projects at home and work?

I am currently developing 10 websites for my job. I use codeIgniter PHP framework for each one. I develop both at home (localhost) and work (localhost) and upload changes to the server. My current ...
1
vote
0answers
93 views

Set up Git-User in Aptana

I'm using Aptana Studio 3 Standalone as IDE. As GIT client, I've been using eGit for quite a while, but I didn't like the menus and options there too much. So, I wanted to give the build-in git ...
4
votes
2answers
1k views

How do I disown/detach a process from the Git Bash terminal that come with Git's Windows installer?

I would like to run commands from the terminal (mostly Python servers) and essentially daemonize them. I am running the MinGW terminal "Git Bash" that comes with the Windows installer for Git. ...
1
vote
1answer
313 views

cygwin git default web browser

I just installed git using cygwin. I then tried using git help status but I received the error fatal: '/usr/share/doc/git-doc': not a documentation directory. And indeed, there is no folder git-doc in ...
3
votes
1answer
700 views

How do I show the git status in the emacs bottom bar?

Is there a way to show the current branch, pluses, minuses, and authors in emacs status bar? Something like: -UU-:**--F1 buildfile Top (84,16) (Ruby Paredit AC yas Fill) ---(git: master ...
1
vote
2answers
184 views

cygwin git documentation

I just installed git using cygwin. I then tried using git help status but I received the error fatal: '/usr/share/doc/git-doc': not a documentation directory. And indeed, there is no folder git-doc in ...
0
votes
2answers
56 views

Could not find Digikam

I have compiled and made the Digikam source code from GIT. Everything went right. At last, I typed 'sudo make install' and it went successful. But after this, I don't know where the digikam is ...
0
votes
1answer
234 views

avconv crashes after ~3 minutes - could be source regression, how do I get last stable version in git?

Application provided invalid, non monotonically increasing dts to muxer in stream 1: 8657 >= 8657 av_interleaved_write_frame(): Invalid argument [pulse @ 0x2a03400] pa_simple_read failed: Bad state ...
0
votes
1answer
538 views

fatal: error when closing sha1 file: Permission denied

I am attempting to create a local git repository using a mounted linux drive (via SSH via ExpandDrive) from my mac using GitBox, however when I attempt to make a commit I continually receive this ...
0
votes
1answer
1k views

Cygwin won't start Gitk

Hey I have followed this answer to solve problem with running GUI applications under Cygwin. So far it seems okay, but when I try to open gitk it will complain on that it cannot find any git ...
0
votes
0answers
14 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
52 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 ...
2
votes
2answers
14k views

Git: Command not found Windows

I have downloaded and installed GIT from http://git-scm.com/download/win For some reason, in Cygwin and in Command prompt (Windows 8), the git command is not found. I selected the option for ...
0
votes
1answer
724 views

.ssh/environment does not work on Synology dsm3.2. How to fix/debug?

I'm trying to set up git on Synology NAS via ssh. I've created git user, set private key authentication and installed git package. I can log in successfully using private keys and have git in /opt/bin ...
0
votes
3answers
1k views

Restoring the Windows Github Powershell shortcut

I have Github for Windows installed (Win7 x64). It also came with a handy shortcut that allowed launching a Git-optimized Powershell instance (which also displayed information such as the git file ...
1
vote
2answers
463 views

git has no “clone” option

I downloaded eclipse-jee-juno-SR2-win32-x86_64 and selected Git repository explorer under window>open perspective>other . Now I trying to do the following as in this mannual , at stage 4 it asks to ...
8
votes
0answers
480 views

Error from egit installation

Just installed a fresh 32 bit copy of Java and Eclipse. I'm now trying to add egit for the first time, following the instructions here (using the main repository). I receive this error when I try to ...
1
vote
0answers
112 views

Updating GITLAB from 3.1 to 4.0 rake error

I am trying to update my GITLAB. I have been following this article and I got stuck on this command: sudo -u gitlab -H bundle exec rake gitlab:enable_namespaces RAILS_ENV=production --trace The ...
2
votes
1answer
468 views

Installed Git via homebrew on OSX , man file problems, other potential problems?

I installed Git via homebrew, on OSX 10.8, with an already existing version of Git. The new version wouldn't show up, so I renamed the old git files (git, gitk etc...)in /usr/bin , to *-old. Now the ...
1
vote
1answer
845 views

Permission errors in setting up Git

Background I have a Linode VPS (Ubuntu 12.04 server), and I want to use Git to manage my files from the VPS to my local Windows desktop. I have installed Git Bash and have been using that on the ...
4
votes
1answer
1k views

git push to github via cron on mac

I'm trying to use git push in a bash script being run by crontab to push a commit to github. At the end of the script I'm doing this: # script processes some files, then: git add -A git commit -a -m ...
3
votes
1answer
170 views

Moving two existing already-synced directory trees to git annex

I have two copies of my music files, one on a desktop Linux machine, one on a Macbook. At the moment, I run rsync periodically to keep these files in sync. I'd like to move management of this problem ...
8
votes
1answer
7k views

How to tell dropbox to ignore git files?

I have been keeping my vim files in Ubuntu One and since I have a lot of plugins installed as git submodules (or however vundle installs them) and I'm only interested in updating these repositories on ...
0
votes
4answers
2k views

issue installing git on redhat 5.6

I get the following error when run: It is somehow missing the perl dependencies, I am not sure do I need to update the perl or remove something as a workaround! yum install git Loaded plugins: ...
2
votes
4answers
2k views

Bad owner or permissions on /root/.ssh/config in a virtual machine

I'm using a VirtualBox VM with Debian as guest OS. In order to share SSH keys between the Windows host and the Linux guest system, I've defined the folder ~/.ssh as a shared folder. Bun now I'm ...
0
votes
1answer
54 views

How to see what's changed on git

A bunch of new commits have been made on the remote git repository, and you want to see what's changed from the version you have checked out on your computer previously. How do you do so?
2
votes
1answer
202 views

Can't add particular repo as a submodule

I'm switching to using submodules for my vim plugins. The usual way of doing this is: $ git submodule add https://github.com/vim-scripts/a.vim bundle/a.vim Cloning into 'bundle/a.vim'... etc, etc ...
1
vote
2answers
112 views

Delete file from git repo

I made a huge mistake. I made a repo with some files. I made some commits, everything was working right. But then I realized, 2 files had a very very huge mistake, which made them about 200 Mb in ...
4
votes
2answers
2k views

Slow msysGit performance on mapped network drive

I have a development web server with an application directory mapped to my local machine as drive Z: (e.g. \\web_server\wwwroot). The shared folder requires domain credentials to access (my domain ...
0
votes
2answers
30 views

Setting up ssh in git

I am trying to setup git ssh client on my windows PC. I was logged in to the PC as a domain user and I installed git and set up the ssh client through the domain user account which I was logged in. My ...
4
votes
0answers
136 views

Git username vs windows username capital

I have a git repository set up on a linux server. I have a user with a username of cmcgrath on the git server. On our windows domain we have the same user cmcgrath. However, when he opens gitbash it ...
3
votes
3answers
201 views

What unix command would I be able to write a Bash Shell script that would create files in a series of directories?

I need to write to a shell script that takes a list of directories from file (the directories would be on different lines) and then for each of those filepaths it would create a hidden dummy file ( ...
0
votes
1answer
357 views

git: private files in public repositories

I am using git as version control for a lot of my projects which apart from source code have a number of reports and sensitive documents. All my repos are currently private but I wish to make some of ...
1
vote
1answer
874 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, ...
0
votes
1answer
79 views

merging git with vim without the automerged MERGED

I want to use vim (fugitive possibly) to merge my conflicts, but I hate the automerged conflict markers. I'm looking for something like |-------------------------------| | | | ...
0
votes
1answer
176 views

MsysGit gets differend look&feel depending on, how it is called

When I start msysgit (C:\msysgit\msysgit\msys.bat) from its directory, it has an other visual settings, as when I start it over a shortcut in the Quick Launch. Why? How can I change it?
0
votes
1answer
157 views

Update Git password for Azure

How can I change my Git password for my Azure hosted websites? I followed the documentation to setup Git on Azure initially, but now I'd like to change that password and I can't find how to do it.