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
88 views

How to restore version control in XCode?

I have just recently backed-up my XCode C++ project on my pendrive, using rsync -avu Since then, the version control for my project is lost (grayed-out) on every files, I can modify the files and ...
1
vote
0answers
111 views

Mac OSX 10.8 git commands don't work after trying to use git-credential-osxkeychain

Following setup instructions in https://help.github.com/articles/set-up-git to prevent credential entry for each git command, git stopped responding. Every git command "locks up" the terminal until I ...
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
446 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
56 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
161 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
173 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
564 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
532 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
63 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
244 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
6 views

Deploying Kudu on a server

I have setup a copy of Kudu on my local dev machine, and it works fine providing I run it from Visual Studio as Administrator I would now like to deploy it to our public UAT server so we can use it ...
0
votes
0answers
8 views

Download multiple branches to the same directory using repo

repo is a python script that manages cyanogenmod source code download. to download cm-10.1 branch, repo command is, cd ~/cm-10.1 repo init -u https://github.com/CyanogenMod/android.git -b ...
0
votes
0answers
8 views

How to delete revert commit history in Git

I committed about 10 commits without any change to the working directory. Like, commit -> revert. commit -> revert and the cycle repeats. All commits and reverts are merged to the public Git ...
0
votes
0answers
5 views

Have git push assume -o origin $branch

When I create a local branch with Git, I would prefer to be able to assume that a push will track origin with the same name. Right now, the following: git checkout -b $branch git push Yields ...
0
votes
0answers
5 views

Custom git init

Is it possible to create a custom git init with certain templates in place? What I wish to do is to have each of my projects have a post-commit hook command that pushes the project to my personal ...
0
votes
0answers
7 views

In Jenkins, what should I specify for git branch, if I want feature aware SCM polling?

I want to use the Feature Branch Notifier Plugin so that Jenkins automatically runs mvn test whenever a git feature branch receives a new commit. Since the job is effectively polling for all ...
0
votes
0answers
11 views

Git Extensions advanced filtering displays wrong results (commits that don't match my filters)

I'm using git extensions to do a file filter (using version 2.48). Right-click -> View -> set advanced filter I check only: ignore case file filter branches (is checked by default) but i have ...
0
votes
0answers
14 views

How can I fetch the next N commits using git?

I am working remotely from a country with unreliable internet, and the full git fetch is just too big to actually work (it hangs indefinitely until timeout). Is there a way to tell git to fetch only N ...
0
votes
0answers
7 views

Changing Git Location on Mac OS X

I have a version of Git (1.9.3) already installed on my computer at /usr/bin. This version was installed (if I remember correctly) by XCode. I would like to install 2.2.1 (the download version from ...
0
votes
0answers
10 views

Command to search for a string in all of the previous commits of a user

I changed something about 1 week ago and I realized that it impacted something today. But the question is I have no idea what I changed, but I do have a hint of what I changed. What is the command ...
0
votes
0answers
12 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
9 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
42 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
54 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
14 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
24 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
19 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
70 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
75 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
67 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
142 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
11 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
35 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
15 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
36 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
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
22 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
75 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
50 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
338 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
174 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
142 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
90 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 ...