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
0answers
14 views

Building git page with jeklly

I'm using jeklly builiding git page. I can view my pages locally (http://localhost:4000/). I have received letter from git. However, I CANNOT open my home page on the internet. ...
1
vote
0answers
428 views

Error on git clone in cygwin: error: inflate: data stream error (invalid code lengths set)

I am trying to clone a repository using git on cygwin. Machine is a Windows XP machine, running a newly updated version of cygwin I have cloned this repository without any trouble previously, but on ...
1
vote
0answers
54 views

Intellij setup git macro

I would like to know if its possible to setup a macro for git. I want to be able to shortcut a git workflow : for instance : git checkout b git pull git merge a git push git checkout a
1
vote
0answers
159 views

Svn analog of git-shell

I have configured git,so I can pull/push via ssh, authorization via public key, but if I try to make direct shell access, I get Last login: Mon Aug 13 20:12:20 2012 from 192.168.1.3 fatal: ...
1
vote
0answers
171 views

Git differences between OSX and Linux

This has been driving me somewhat insane but I can't find any information on it. I have both Mac and a Linux (Ubuntu) machines. I work on both but I'm finding Git is behaving very differently during ...
1
vote
0answers
552 views

Why does git difftool not work with vimdiff?

I just set up git and set git mergetool to vimdiff and it works as expected. If I set git config --global diff.tool vimdiff it behaves strangely: git diff x y will open less and display the changes ...
1
vote
0answers
482 views

slow git performance

I have an older machine with a git repository on it that I use to keep synchronized with svn. I've noticed that with running basic commands like git status, it is ridiculously slow. I was initially ...
1
vote
0answers
61 views

Java opens a new window when I start it from mingw/msysgit, how can I stop it?

When I launch anything that uses Java, i.e., command lines beginning with java, javac, jar, mvn, etc., from cmd, I see the output in the same window. When I launch them from msysgit's bash shell on ...
1
vote
0answers
86 views

Git for windows xp crashes all the time

I am trying to clone a git repo on windwos xp. I am using GIT BASH. But everytime i try to clone it i get the error as below. I tried to restart my pc but this didn't help. Any suggestions?
1
vote
0answers
237 views

Incessant prompting for id_rsa passphrase

Running on Mac OS X and I switched to zsh a couple months ago & started using git quite heavily. At each initial login now I'm getting a prompt for my .ssh/id_rsa passphrase: starting... Enter ...
1
vote
0answers
52 views

How to setup Xcode's SCM for static and dynamic site content?

I want to use Xcode 4's SCM (GIT) to manage your static and dynamic site content, which I edit and maintain with a variety of tools (CSSEdit, Dreamweaver and Espresso). I have tried creating ...
0
votes
0answers
15 views

Configure GIT_EDITOR for Windos

I am a beginner using GIT. I installed GIT on my Windows-7 PC and make the first steps. The command git commit -v allows to edit the commit message with an editor before doing the actual commit. I ...
0
votes
0answers
10 views

Gitweb 404 - No projects found on ArchLinux ARM

I have some troubles with gitweb configuration on my RPi (powered by ArchLinux ARM). As you can see in the topic title I get "404 No projects founds" error. I followed ArchLinux wiki but it didn't ...
0
votes
0answers
28 views

Git-related: “Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.” Error

I am receiving the following message upon writing the following lines: git remote add origin https://github.com/[username]/[project name].git git push -u origin master error: "fatal: ...
0
votes
0answers
10 views

Repository not found error for private git server

I am trying to set up a private git server with http(s) access on nginx. When I try to clone a repo, I get an error: $ git clone http://git.example.com/git/MyRepo.git Cloning into 'MyRepo'... ...
0
votes
0answers
7 views

Soft links behaving badly in OS X

I have a very small open source project used to help people with speech disabilities communicate. You can see a working version here and the github for the whole project is here. I'm currently ...
0
votes
0answers
31 views

Configuring a Git server on Arch Linux

I’m looking to turn my website that I’m building from scratch (that is, the root of the site) into a Git server. Basically I’d like to be able to have a local copy that I can edit through Eclipse and ...
0
votes
0answers
8 views

git submodule foreach git pull origin master vs. git pull --recursive-submodules

I manage a repository with several submodules. For a while now I've been using $ git submodule foreach git pull origin master to pull in the latest changes for all of these guys. However, recently ...
0
votes
0answers
11 views

Defining git commands on windows

I have a script that I use to add some functionality to git. For this particular case I cannot do it with an alias. The name of the script is git-cim. In linux if I place this script in my path and ...
0
votes
0answers
7 views

Adding all files listed as to commit in the gitignore file at once in GitHub for Windows

When committing in GitHub for Windows, is there any way to add all files listed as to commit in the .gitignore file at once?
0
votes
0answers
20 views

Pulling a repo on Raspberry PI boot?

I'm getting stuck on this : I try to make a git pull on a repo on Raspberry boot. What I've done so far : In /etc/rc.local : su pi -c bash /home/pi/boot.sh My boot.sh script : #!/bin/sh set -e ...
0
votes
0answers
7 views

how to re-run git pre-commit hook on commit

Is it possible to re-run a git pre-commit hook on a previous commit? Use case: I am committing various checkpoints of my code with git commit --no-verify, and then later on I want to fix all the ...
0
votes
0answers
16 views

how to show full file name/path when working with git pull?

I'm working with git. when i pull files from central repository, some times I can't get a full file name or path, something like this: ...missed_some_head_file.ext is there a switch or method when ...
0
votes
0answers
15 views

Can't sync repositoy from GitHub Mac client

When I try to sync using the GitHub client for Mac, I get this message: Authentication Failed You may not have permission to access MyRepository. Check Preferences to make sure you’re still logged ...
0
votes
0answers
6 views

Convention / File Hierarchy for Compiling Source

Background: I have been compiling a lot of source code lately and I am hoping to learn of a convention to organize source code / compiled output. As an example, I have been statically compiling ...
0
votes
0answers
18 views

GitHub for Windows: commit size

When committing in GitHub for Windows, is there any way to see the total size of the files that are being committed? I am aware that we can see the repository size on the GitHub website.
0
votes
0answers
18 views

rsync a git project to clone it for the first time?

I want to use Git to version our existing magento shop. I initiated git on the production server (which has the most up-to-date code), added all files except for several directories like cache, and ...
0
votes
0answers
26 views

Github cannot be established

Hi I am trying to build Camunda Web App using Grunt. But it reports that Github server connection cannot established. How to fix it? Windows 7, Git & Maven & NodeJS all are set up in ...
0
votes
0answers
28 views

'git status --porcelain' failed in submodule

Whenever I try to commit I get these errors: error: bad index file sha1 signature fatal: index file corrupt fatal: 'git status --porcelain' failed in submodule amazon-s3-php-class Why? What's ...
0
votes
0answers
102 views

“fatal: index file corrupt” keeps repeating in git

The following error keeps repeating even after I’ve tried the recommended: rm .git/index git reset But I still get this error: error: bad index file sha1 signature fatal: index file corrupt fatal: ...
0
votes
0answers
90 views

How to auto-resolve dependencies in yum with redhat?

I came across the following issues trying to get git: yum install git-all.x86_64 Loaded plugins: product-id, refresh-packagekit, security, subscription-manager Updating certificate-based ...
0
votes
0answers
50 views

git clone - Permission denied (publickey). fatal: The remote end hung up unexpectedly

I want to clone from my git server using ssh. But I always get this error: Permission denied (publickey). fatal: The remote end hung up unexpectedly I added the key to the user I am trying to clone ...
0
votes
0answers
44 views

PowerShell issues with spaces in directory names

PowerShell has issues with spaces in directory names. I am trying to execute a file in the same directory as the PS1 script like so: .\getGravatarsForGource.pl It works fine when the directory ...
0
votes
0answers
6 views

Pulling and pushing local Git repo with Hg?

I want to be able to pull from and push to local (file://) git repo for some compability reasons. What are my current "up to date" options? I used hg convert successfully but I want to be able to ...
0
votes
0answers
14 views

Working with nested git repos in webstorm

I have a git project in web storm and cloned another git repo into it and a pop up came with unregistered cvs root which I ignored. Now I want to commit the directory with the inner git repo but I ...
0
votes
0answers
30 views

Git pull in jailed environment

There is a user on my server which is jailed by SSH using ChrootDirectory to '/var/jail' This user is trying to use several git commands, but not all of them are working. The following message is ...
0
votes
0answers
44 views

.dotfiles gitignore not ignoring vim/tmp folder

tmp=.dotfiles/vim/tmp.GITIGNORE=.dotfiles/.gitignore. I have created a gitignore for vim/tmp inside my .dotfiles but they are not being ignored. My temp folder contains /backup/swap/undo/ and every ...
0
votes
0answers
10 views

First time using Git questions

I started yesterday using Git and I'm very confused about adding contributors to my project. Tutorials say that I need to create a user called git and a group called git. sudo adduser --system ...
0
votes
0answers
98 views

bash: git-receive-pack: command not found

I've just changed the git remote for my server, and now when I try to use git push web master, (after staging and committing the changes), I get this: bash: git-receive-pack: command not found fatal: ...
0
votes
0answers
28 views

Windows .bat or .sh file to prepare multiple repositories for sourcetree

What I am looking to do is run a script that will: delete folders a,b and c from a directory. re-create the folders a,b and c as a a local git repository (using their individual git source urls) ...
0
votes
0answers
23 views

Re-add ssh key every time I restart my mac

Every time I try to interact with git after I restart my machine I and given an error saying I have been denied access. To fix this I enter the command sudo ssh-add -K ~/.ssh/github_rsa This ...
0
votes
0answers
72 views

git commit not working in shared folder under VMware Workstation 10

I'm working in Ruby on Rails under MacOSX 10.9 in VMware Workstation 10. I moved my RoR project folder from the Desktop into my VMware shared folder. The reason is because some character's location ...
0
votes
0answers
35 views

Using the windows certificate store for git SSH

I am currently working on setting up a build environment that will use OpenSSH with certificates as the primary authentication method (Certificates, not public-private keys). The build environment ...
0
votes
0answers
29 views

Windows right click on git bash menu, report can not find sh

i am able to open Git Bash from the program, but right click on drop down menu 'git bash' it says can not find sh. How can I fix this problem?
0
votes
0answers
12 views

Ratio of size of single version to size of full distributed version controlled archive

I am considering using Git. What I would like to know is, if I am going to download the full distributed version controlled archive to my local machine rather than checking out a single copy as used ...
0
votes
0answers
128 views

Best way to build a home server to share really large files between OS X and Windows?

I'm thinking of getting a local server for our offices - because we are video editors, and having several copies of every single project we're working on is simply ridiculous. It's incredibly ...
0
votes
0answers
30 views

git-svn creates directories but doesn't check out content

I am migrating an SVN repository to Git using git-svn combined with some light bash scripts on Ubuntu 14.04. Locally. git-svn has worked fine so far (on Unix), but recently, it sort of gets stuck ...
0
votes
0answers
16 views

Server-Side Git Authentication With Database

I've been looking for information on how to create a system similar in functionality to GitHub & Heroku - whereby a user is prompted to login with credentials set in the database. I have ...
0
votes
0answers
27 views

Git: change head to point to remote branch

I recently cloned a teammate's repo. His is cloned from a master remote repo when i run git branch -a now i have : *master remotes/origin/HEAD -> origin/<dude's username> ...
0
votes
0answers
18 views

Copy (not clone) git repo and checkout different branch

I'm trying to set up dev and staging sites from a production site using git. The problem is that I just discovered a lot of vendor/other code is ignored by the repo (which I inherited) but is ...