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

10
votes
0answers
532 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
25 views

Why symlinks can slowdown git?

I keep my current working project on SSD drive but git folder inside is symlinked from another (encrypted) disk with mklink /J /D. SmartGit warned me that using symlinked git folder may have a ...
4
votes
0answers
2k 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 ...
4
votes
0answers
56 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
182 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
12 views

Wrap git's shell script to add bashrc or equivalent start-up commands

My server has a git user that handles all git access. You can't log in with it. It's only for git access. That works because GIT comes with a handly shell /usr/bin/git-shell. Login feedback: fatal: ...
3
votes
0answers
183 views

Migrating a git repo to AWS CodeCommit

I've followed the steps here and here. When I run the below commands I get: git config --global --edit displays an edit file containing the lines in the setup guide aws configure shows the tail end ...
3
votes
0answers
464 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 mate,...
3
votes
0answers
572 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 ...
3
votes
0answers
312 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 ...
3
votes
0answers
467 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 ...
2
votes
0answers
50 views

Git - Git Pull Not Working In Cygwin

Just recently, git in Cygwin has not been behaving correctly. When I try to run a command like git pull it does not show anything about the pull. The git status command works just fine and shows the ...
2
votes
0answers
457 views

SSL error when connecting to git from Mac OS X 10.11.3 (El Capitan)

When I try to clone / pull / fetch from a git repository via https from a Mac System I keep getting an error: error: RPC failed; result=56, HTTP code = 200 fatal: The remote end hung up unexpectedly ...
2
votes
0answers
193 views

Visual Studio Code Git Issue

I'm running version 0.10.8 of Visual Studio Code in Xubuntu 14.04 x64, but used 0.8.4 before and didn't have this issue When I try to push a commit to Bitbucket via VSCode, I get the following ...
2
votes
0answers
257 views

Git for windows: fatal: open /dev/null or dup failed: No such file or directory

After some weird bug (it happened a while ago, so I don't know what caused it) this started to happen to me. Every time I try to use git on windows (installed 2.6.2 x64) I get: fatal: open /dev/null ...
2
votes
0answers
131 views

How to print absolute paths with git grep

I use the following grepcode command to recursively search a large number of git repositories. It prints the path of found files relative to the repository root, how can I print the absolute path of ...
2
votes
0answers
268 views

HTTP server doesn't seem to support byte ranges. Cannot resume. homestead up

When I used the command "homestead up" it stopped working at 45% so I closed it and restarted my computer. Now when I try to run the command homestead up, my computer says resuming download then I get ...
2
votes
0answers
191 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 '/home/daniel/.config/git/...
2
votes
0answers
642 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 ...
2
votes
0answers
166 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
177 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
89 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/ ...
2
votes
0answers
1k 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
421 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 in....
2
votes
0answers
654 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
1k views

SSH reverse proxy

I am setting up a Gitlab server (https://about.gitlab.com/) inside a virtual machine using KVM on a Ubuntu 14.04 host. My university charges us for every external IP address, so I cannot use bridged ...
2
votes
0answers
184 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 (...
2
votes
0answers
739 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
582 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 ...
2
votes
0answers
622 views

Debian Jessie repositories and git

How should I edit the sources.list so I will be able to get Git via apt-get? If I run apt-get install git now, I get Unable to locate package git While I can manually download and compile (...
2
votes
0answers
546 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
855 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
4k 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
142 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 ...
2
votes
0answers
5k 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
801 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
10 views

Change location of .gitconfig in Visual Studio

Visual Studio 2015 has Git integration, but it picks up a .gitconfig file used in my Cygwin install that has some problems (for one thing, it is a symlink, but even it if was a normal file it would ...
1
vote
0answers
84 views

Vim Plugins within Git Bash for Windows

In an effort to improve the terminal usability in Windows I have setup ConEmu to use Git Bash for Windows as the default terminal. I use Vim Plug to manage my Vim Plugins, and have already set up the ...
1
vote
0answers
21 views

How to display git ls-file result in a tree-like format?

Let's say I have a git repo which output with tree is: . ...
1
vote
0answers
30 views

way to automate git repositories cloning

I have to clone several repositories on the VM-s and then building software on them. I have pretty nice build script but there is one issue. Before build, several repos should be cloned, and after ...
1
vote
0answers
29 views

Git inside git: is this a solution?

Consider the following directory structure: ~ | ---~/everything | ---.gitignore | ---.git/ | ---code/ | ---project1/ ...
1
vote
0answers
19 views

GitHub error on new repository

I am using Github for the first time in android studio. I shared the project on github using import into version control but I am unable to see my files on the repository created. Please help Android ...
1
vote
0answers
76 views

502 Proxy error when connecting a GIT repo with Openproject

I've recently installed Openproject in a Linux box (Ubuntu 14.04) and I wanted to link a Project to an already existing GIT (bare) repository. To do this I've followed the configuration instructions: ...
1
vote
0answers
130 views

“git mv *” returns “bad source” in Powershell

When inside a git repository in Powershell or CMD, issuing git mv * whatever will return fatal: bad source, source=*, destination=whatever This works fine when using MSYS (Git Bash).
1
vote
0answers
60 views

Jenkins - ssh credentials and editing credentials issues

Can't connect to bitbucket through ssh in Jenkins I can get it to work using https and providing my bitbucket account password, butI can't get it to work using an ssh key and ssh passphrase. I have ...
1
vote
0answers
37 views

Make gitk with path argument show all files

I am running gitk with a path argument to only show commits that touch a particular file: gitk -- path/to/file However within these commits, in the "patch" view, gitk only shows the changes to the ...
1
vote
0answers
38 views

Is there a name for the command line user interface employed by projects like Git?

There are quite a few command line tools (or suites of tools) out there these days which use a command line interface such that every command starts with the name of the application/tool followed by a ...
1
vote
0answers
30 views

My Git was disabled after I installed El Capitan 10.11.1

After I installed El Capitan 10.11.1 my Git was disabled. I ran my MacBook Pro and my MacBook Air in Recovery mode (Command+R) and restarted and without "csrutil disable" or without disabling my SIP ...
1
vote
0answers
164 views

git on windows 10 - ssh - bad passphrase

So i tried to set up another remote repository on my machine and have to add the ssh-key to the ssh-agent. I checked the passphrase of the key with Puttygen, so i don't have a typo in the phrase. I ...
1
vote
0answers
29 views

Start Git Bash from users directory

I am running the latest version of git on Windows. When I start Git Bash (Running MINGW32) from my start menu it starts git from my users home directory. When I pin the window to the task bar and then ...