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
437 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
559 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
507 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
87 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
239 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
3 views

Docker workflow with multiple packages and shared sources

Let's say I want to use Docker for an app, which consists of two parts. These parts are different, but they have some shared libraries. So, I have two folders: part1/ Dockerfile src/ part2/ ...
0
votes
0answers
8 views

Suggestions on how to set up my dev server for dev clients (Linux and WIndows)?

I am creating web intranet systems and have always struggled with developing on multiple clients with moving files and databases over back and forth trying to keep everything in sync. I have now set ...
0
votes
0answers
9 views

Git not remembering password

I made a Github repo to manage my dotfiles and figure I should test it. So, I deleted the repo, did git clone REPO and thought it would work. Now, however, if I go into REPO's directory and try to ...
0
votes
0answers
16 views

Automatically publish to AWS S3 when pushing to BitBucket

I am a complete noob to BitBucket and git stuff. Here is my secenerio, whenever i git push to BitBucket the newly created repo should be automatically published to AWS S3. I have searched and found ...
0
votes
0answers
26 views

How connect with Git repository over ssh behind evil proxy

My proxy (192.168.1.1:3128) not allow connection over ssh and I wish work with git repository like this: for clone: git clone ssh://user@server.com:2222/~/repository.git For cheat web forbidden, I ...
0
votes
0answers
21 views

How to set up git user for group-writeable repositories and SSH access?

I am setting up a Git server on Ubuntu 14.04 LTS. I need the server to support both the SSH and HTTP protocols. So far I've followed the instructions in the Git Book to get my server to support the ...
0
votes
0answers
10 views

Atlassian SourceTree: Copy Git Checksum To Clipboard

How can one copy the checksum of a Git commit to the clipboard using Atlassian SourceTree (OSX)? I know I have seen this feature in the Tortoise family of clients.
0
votes
0answers
21 views

Using Git as an svn client

I used to use git-svn as a simple, powerful svn client. I stopped awhile ago for a variety of reasons, and now I'm trying to get started again, and it doesn't seem to work anymore. (Note: I'm not ...
0
votes
0answers
18 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
30 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
38 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
53 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
47 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
13 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
9 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
26 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
9 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
28 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
28 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
10 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
20 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
41 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
39 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
223 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
152 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
100 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
54 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
7 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
17 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
43 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
52 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
138 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
35 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
86 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
36 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
33 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?