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

1
vote
1answer
370 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
770 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 +2/-...
1
vote
2answers
190 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
59 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
254 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
633 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
2k 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 ...
3
votes
2answers
18k 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
746 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
553 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 ...
10
votes
0answers
530 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
496 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
947 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
177 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 ...
9
votes
1answer
8k 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: ...
3
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
230 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
128 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
31 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
182 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
202 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
442 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
928 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
82 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
178 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
194 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.
6
votes
2answers
7k views

Clone GitHub Repo Without Account?

I'm putting together some documentation and don't have access to a non-configured machine to just test this myself, but I'm curious if you need a github account to clone a repo from github to a local ...
0
votes
1answer
450 views

The filter pattern in .gitignore doesn't act as intended

I have added a filter pattern in .gitignore It works for most of the files I don't want to put in git, but there are still 4 files that are not filtered though they should be. the only pattern in ....
2
votes
0answers
4k 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
2answers
608 views

How to install git-cola in cygwin?

This might be a stupid question, however I can't get it working. I know it has been ported. I've found both the sources and the binaries. I've downloaded all the files from here and tried cygwin ...
0
votes
1answer
790 views

Trouble modifying .bashrc file to alllow sublime text 2 in git-bash

I would like to change or add the ability to open files when working with mingw32 with a different text editor (in my case sublime text 2). I would like to be able to do the following from the ...
3
votes
1answer
916 views

Git server for Windows

I am new to Git. Is the installation for Git server same as how we install on local machine? I am finding a GUI Git installer for server, I found one http://gitstack.com/, but is there a any open ...
3
votes
1answer
276 views

Vim - Prevent NERDTree opening when invoked by git

Nice and simple, I'd like for NERDTree not to get involved when vim is invoked by git, for example when authoring a commit message or dealing with a rebase. Presumably this is achievable by way of ...
0
votes
1answer
540 views

Terminal isn't recognizing any commands in OS X

I installed Git with the Git installer for OS X and restarted terminal, but I got a "command not found" error. I also installed Meteor (a web development framework) and ran it – I also get a "command ...
4
votes
2answers
1k views

Execute git pre-commit hook only if files in certain directory modified

I am trying to create a bash script for a git pre-commit hook. Whenever a commit is made, I want to check if files in a certain directory are part of the staged files and if so, run a command (Grunt ...
2
votes
1answer
125 views

Trying to create bash function which collects and quotes all arguments, but it doesn't work if args contain brackets or single quotes

I saw the following shortcut for "git commit" suggested somewhere: function gc { git commit -m "$*" } This is supposed to allow you to write the commit message inline in the shell, without quotes ...
1
vote
0answers
234 views

How do you correct the path separators in git when using powershell

I'm using the github powershell addon to run git on windows. Everything seems to work fine except for when I'm adding submodules. In this case, the powershell addon is adding in paths with \\ as ...
3
votes
4answers
493 views

How to version control for a solo author creating non-programming documents?

I'm a writer, not a programmer. I'm just now for the first time learning about version control and how it works, and I am wondering how version control could streamline my workflow. For years, I've ...
5
votes
4answers
10k views

Homebrew install problems: Permission denied - /Library/Caches/Homebrew/Formula/libksba.brewing

I've been having problems installing Homebrew since changing my home username on my Mac OSX 10.6.8 computer. After removing all files from the previous Homebrew installation since that didn't work, I ...
5
votes
3answers
2k views

Add as if from the root folder of the repository

This has caught me up a couple times. I have a terminal open inside a GIT repository. I do git status to see all the changes across the repository. I then do git add -A, git commit -m "Some text" and ...
3
votes
1answer
306 views

Git vs SVN: website storage efficiency [closed]

I know that SVN (Subversion) stores files' deltas in order to efficiently store data. Git however, is a little more complex. What I'm wondering is that if I were to store plain HTML, image and js ...
0
votes
2answers
1k views

How do I convert an hg repository to git?

I found an open-source project which is available via hg only. Now I want to put it onto GitHub, with my own changes alongside the previous commit history. Hg-git allows you to use git commands to ...