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

8
votes
0answers
442 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 ...
4
votes
0answers
44 views

Git - rebasing a file into past history of that file

Lets us say I have a file filename in a git repository in subirectory dir1 with a history something like this: v7 --- v8 --- v9 --- v10 The file is part of a larger repository with various ...
4
votes
0answers
2k views

Git - Error invalid path

I have been working for so long on a mac and have committed it looks like a file like this: C:/Csmart/files/companies/19/migration/CompanyDataEntry.xls This file does not exist in the repository. ...
4
votes
0answers
111 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
0answers
864 views

Build an Android Rom (Make Error 41)

I tried to build a custom Rom for Android 4.4.4. I use as base the Liquid Rom (Github Link) Before I build the rom, I had insertes in the local_manifests some apps to add to the ROM and before I did ...
3
votes
0answers
325 views

Setting TextMate 2 as Git's difftool

Is it possible to set TextMate 2 as the default Git difftool/mergetool? If so, what are the commands? I have found instructions for the diffmerge tool here, but I would like to try it with text ...
2
votes
0answers
68 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 ...
2
votes
0answers
109 views

ssh-agent installed with git 1.9.5 faults

I am getting a fault when running ssh-agent from windows 7. I think it could be a permission issue, though UAC is off. ssh-agent.exe SSH_AUTH_SOCK=/tmp/ssh-vDq8tk2Qlatv/agent.10256; export ...
2
votes
0answers
591 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 ...
2
votes
0answers
397 views

Vim silent launch of ConEmu (into Git Bash) - Windows 7 Command Prompt seizes

From a Windows 7 Command Prompt: ConEmu.exe /cmd "C:\Program Files\Git\bin\sh.exe" --login -i && exit opens ConEmu (or a new tab therein) logged into Git Bash for the current directory, and ...
2
votes
0answers
558 views

Disabling TLS protocols for https:// URLs in git

Since my update to Ubuntu 14.04, I cannot connect to the companies git server. It uses https with the SSL protocols only. When running git clone (or any other git command that connects to the server) ...
2
votes
0answers
505 views

git clone extremely slow using ssh

Originally I could do git clone using ssh at an acceptable speed. However my ubuntu crashed, so I reinstalled using the newest version 13.04. After I re-installed all I try to do git clone using ssh ...
2
votes
0answers
2k views

How can I limit the size of the Android source I need to download with repo sync?

I have been repo syncing the Android source, (& the CyanogenMod source on my AWS server), but they are so large (>30GB), that I won't get them before I leave for a country with an even worse ...
2
votes
0answers
424 views

Windows Github install error: System.Net.WebException

While installing, I got this error (from the log file). I tried the solutions to this similar question ERROR DETAILS Following errors were detected during this operation. * [5/7/2013 8:19:29 PM] ...
2
votes
0answers
605 views

Automated git pull on Windows 8 as system

I have installed msysgit for windows 8. I am attempting to automate a git pull every 5 minutes. I am using scheduled tasks to run a script I wrote. The schedule task's action is: powershell ...
2
votes
0answers
3k 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 ...
2
votes
0answers
4k views

git insists in telling me “Already up-to-date.”, What should I do?

I am new to git, and I am working on a project with a friend, and somewhere something went wrong, and I cannot fix it. The state now is that I have a working copy on my computer, but when I run git ...
2
votes
0answers
307 views

TortoiseGit stops connecting after a seemingly random amount of time

I use TortoiseGit to connect to a private remote git server, but after an indeterminate amount of time (possibly longer than 6 hours?), trying to connect results in a bad file number error. I've tried ...
2
votes
0answers
336 views

How to remotely clone Git repository on Windows Storage Server 2008?

I have a Western Digital Sentinel at home running Windows Storage Server 2008 R2 Essentials. I have several Git repositories on it for my own personal projects, and have no problems pushing and ...
1
vote
0answers
18 views

Github Desktop has stopped working (after updating to windows 10)

After updating to windows 10: Everytime i run Github Desktop the error "Github has stopped working" pops up. Microsoft Visual Studio debug retrieves this message: "System.IO.FileLoadException was ...
1
vote
0answers
46 views

How to configure .bashrc for git-for-windows?

I used Git Bash for Windows with Version 1.9.5 on my Windows 7 (64bit). I added a .bashrc and a .gitconfig in my %USERPROFILE% folder (C:\Users\<USERNAME>\). Everything worked fine. Now i ...
1
vote
0answers
16 views

How to checkout a remote git branch, on the remote machine?

I keep a simple set of Pandoc-generated HTML files on a server, and I have decided to use git for version control. I never edit files directly on the server, so I keep a branch checked out there on ...
1
vote
0answers
14 views

gitk not working inside of tmux

I have a weird issue where gitk does not run when I use it inside of a tmux session. If I run gitk from tmux, I get: Error in startup script: 58:102: execution error: An error of type -10810 has ...
1
vote
0answers
19 views

How can I prevent git from using the wrong environment path?

(nodeenv)openproject@debian:~/openproject$ git checkout v4.2.0 warning: unable to access '/home/daniel/.config/git/attributes': Permission denied warning: unable to access ...
1
vote
0answers
14 views

MinGW Git Bash observable progress output inconsistency across machines

I am getting inconsistent behavior across installations of Git Bash on different Windows 7 machines. The diff in behavior is fairly minor, but I'd like to understand what could be responsible for the ...
1
vote
0answers
58 views

GIT: stuck with “fatal: pathspec … did not match any files” :-(

I'm totally newbie with GIT, but in simple cases I've been using it to controll my website and changes made on it. I've been using in my website librarry called "mpdf", which i've updated repleacing ...
1
vote
0answers
33 views

How to test whether one git commit can reach another?

I have two git commit IDs. How can I tell if either is a derivative of the other (and if so, which one)? In other words, can one git commit reach the other git commit by following parent commit ...
1
vote
0answers
53 views

GitLab.com times out on Linux

I'm currently using Linux Mint 17 on my laptop and I'm almost unable to work with GitLab. The issue is pretty weird: GitLab.com times out every time I want to save my profile info GitLab.com times ...
1
vote
0answers
187 views

Simplest way to setup my own remote private git server

First of all, I've read all the git-server-setup documents on the internet, but still, there is one thing missing -- I want to setup a simple GIT server in (Ubuntu) Virtual Machine for myself, not for ...
1
vote
0answers
43 views

How to show git branch in Emacs shell

How can I show the current git branch as part of the Emacs shell prompt? For example, I have this in my ~/.bash_profile (I'm on Mac OSX 10.9 Terminal): parse_git_branch() { git branch 2> ...
1
vote
0answers
24 views

Issue pushing git commits with large files to AWS

I'm running Phabricator on AWS and pushing to git over http. If I push commits with large files the push will terminate with an EOF. Originally this was because there wasn't enough memory. I "fixed" ...
1
vote
0answers
58 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/ ...
1
vote
0answers
28 views

I get three related errors when trying to push a commit to github concerningproc/10/exe. What should I do?

When trying to commit to github I get these errors after I type the command $ git add . $ error: readlink("proc/10/exe"): No such file or directory $ error: unable to index file proc/10/exe $ ...
1
vote
0answers
55 views

Best practice to host self-maintained Debian packages on GitHub

This question is especially about the best practice to host self-maintained Debian packages on GitHub. Here is my dilemma: It is commonly recommended not to put the debian folder within the source ...
1
vote
0answers
228 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 ...
1
vote
0answers
654 views

SSH authentication fails when trying to access Bitbucket from Jenkins

I'm trying to currently set up a Jenkins CI-server in Azure that pulls the project from Bitbucket and runs the tests. CI-server is running Ubuntu 14.10. I got the server running, and I generated ...
1
vote
0answers
35 views

How to upgrade Git in Aptana Studio 3

I just did an update to Aptana Studio 3 to the latest version but unfortunately it did not update the git binary in the built-in shell facility. How do I update git (more precisely msysgit) in Aptana ...
1
vote
0answers
169 views

Windows Null not Working Correctly

GitHub for Windows is not working correctly, citing a /dev/null error. I have since discovered that Windows' null.sys and Null device may have something to do with it, as running dir > nul returns ...
1
vote
0answers
22 views

git svn “unable to chdir up to '.'”

I use a local git with a SVN remote server, everything works fine but after my last reboot I get the following error with everything related to git svn. unable to chdir up to '.'
1
vote
0answers
202 views

why my file permission being changed after pull from git repository

I have been came across this problem over and over again. I have a git repository set up on my remote server and all the files are set to 644 and folders are set to 755. However, every time after i ...
1
vote
0answers
112 views

Issues with file ownership after git push

I have a server at home running Ubuntu 13.10 configured as webserver and git repository. If I push my project from my system to the server a post-receive hook is executed that moves the files ...
1
vote
0answers
173 views

Idle TeamCity agents dont take compatible tasks from queue

I have new TeamCity 8.1.3 and one task in build queue and compatible enabled agent. But agent is idle. I tried to re-install teamcity, re-install buildAgent and install agent on another machine. ...
1
vote
0answers
45 views

Git LF checked out as CRLF, marked as changed, checked back in as LF

I have a file in a project. The project is something that was passed to me and has a lot of CRLF/LF mismatching. I've added a rule in my .gitattributes to set the file to LF on commits eol=lf all good ...
1
vote
0answers
280 views

Synchronizing two Git servers between companies

There are two companies. Each one has a Git server running. If company A checks in some code this should be updated on company B server and the other way around. The two servers should keep ...
1
vote
0answers
75 views

Working git from the command line

So I use Github for Windows (that fancy GUI app) to manage my various git-based projects, but I've noticed that on my machine I can't use the command line git to do anything with my projects. From the ...
1
vote
0answers
140 views

Git does not prompt for ssh key password

I have an ssh key which is password protected. When I attempt to SSH into a remote computer (ssh user@example.com), I get a little dialog which prompts me for the password. Once I have provided the ...
1
vote
0answers
107 views

git corrupted on ubuntu vbox, power failure with proper shutdown

i use git on ubuntu headless server on virtualbox on my laptop. when i shut down the pc, i don't bother shutting down the virtualbox, i just shutdown the pc. it never was a problem. it was fine since ...
1
vote
0answers
630 views

AWS git clone or pull not working and no error message

In one of AWS/AMI instance, I'm trying to git clone ... it says Cloning into '<repo name>'... but it doesn't clone the repository and not showing any error or any other messages, I have also ...
1
vote
0answers
91 views

Git suddenly started to choke on “git pull” for only one repo

Yesterday, at some point in time, my Git for Windows suddenly started to choke (hang forever) on git pull for only one repo. I managed to pull changes ten times this day, I started to fail on eleventh ...
1
vote
0answers
423 views

Download zip/tar Github repository with .git metadata?

I need to download zip/tar Git repositories from Github and get not just the source but also the .git directory. I'm aware I could use git clone, but this is for an tool that runs on systems that may ...