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
170 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 ...
1
vote
0answers
132 views

hash-based asyncronous directory comparison

I am trying to efficiently synchronize two large directories via VPN over a long distance. Unfortunately I cannot install advanced tools like git or rsync on the remote server due to company ...
1
vote
0answers
44 views

Git merge. Behavior different on explicit merge than on pull

I have a problem with my git configuration. I like to use the --no-ff option when I merge two branch. So I put on my configuration file ~/.gitconfig under the section [merge] the option ff = no. Which ...
1
vote
0answers
89 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
455 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
57 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
575 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
545 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
247 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
7 views

How to store confidential info whilst using dot files framework

I'm trying to come up with a strategy to store my dotfiles in Git. So far, I've create a dotfiles repo on GitHub and I've thrown together an install script which simply clones the repo, then symlinks ...
0
votes
0answers
19 views

Task Manager “go to process” points to the wrong process

This is one of those weird windows things and I'm wondering what even caused this. I was trying to clone a git repo, then closed the console window after deciding against it. The window stayed up but ...
0
votes
0answers
20 views

Unable to git fetch - Connection reset by peer

I have a PHP script handling the automatic deploy to my pre-production server, using Bitbucket's hooks. The deploy script is based on this post. Everything was working fine until this Sunday. Since ...
0
votes
0answers
9 views

How to sync specific files in Ubuntu with git or dropbox?

On my development machine, I have some configuration files saved at various locations. I want to save them and sync them somewhere in Cloud so that whenever I need to access the configurations I can ...
0
votes
0answers
15 views

How to make a github commit be authored by “unknown”/“unrecognized author”?

For fun I'm trying to create an awful git command called "git shove" that basically does this: git add -A git commit -a -m "git shoved" git push --force I would like it also so that the author is ...
0
votes
0answers
14 views

Changes to be commited half green half red

Last time I used git add . and git status after I got this output: Why is the output colored this way, and why are the paths ordered so oddly? For example: ...
0
votes
0answers
11 views

Impossible to clone git repository with www-data?

I´m trying to clone a repo from my php script. I´m using Apache. What I´ve done so far: Fresh Ubuntu 14.04 installation Created ssh key (located at /root/.ssh) Clone to /home/user/ successful ...
0
votes
0answers
17 views

How to authenticate with git?

I have been provided with connection details to a git server: http://hgk:hgk_499@git.server1.org/clients/app_server1.git I have downloaded a git client and after entering the server as: ...
0
votes
0answers
12 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
22 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
20 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
7 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
6 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
26 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
15 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
15 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
8 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
11 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
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
72 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
24 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
16 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
30 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
24 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
91 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
116 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
8 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
74 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
229 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
14 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
41 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
17 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 ...