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

0
votes
0answers
10 views

How can I create pushable remote Mercurial repos that works over SSH?

I have been using git for a while and I use git and ssh. I have couple bare repos on my server which I use to pull and push on multiple computers. Now I want to try Mercurial for some of my projects ...
0
votes
1answer
24 views

Color in bash prompt messes up git output

I changed my .bashrc to include export PS1="\033[1;33m\u@\h: \w>\033[0m" so that my shell prompt would be colored, but it seems the \033 messes up git output (log and diff, at least). I see ...
7
votes
2answers
637 views

I need sudo without password prompt, for scripts. Where did I go wrong?

I am in sudo group all right: $ id uid=1002(molot) gid=1002(molot) groups=1002(molot),27(sudo),33(www-data) In my sudores I seem to have appropriate setting: sudo ALL=(ALL:ALL) NOPASSWD: ALL ...
1
vote
1answer
5 views

changing apache root directory prevents me from accessing .git/config

I copied over a php folder from computer to another and hooked it up to apache.. however apache would return page forbidden.. after doing some research it turned out it was a matter of giving apache ...
2
votes
3answers
62 views

How to assess why git clone/fetch could be so slow?

I have git installed on Ubuntu Server 12.0.4 and work in tandem with gitlab. Ubuntu itself is a virtual machine in Hyper-V Server 2012 R2. I'm comparing performance of command git clone ...
1
vote
0answers
34 views

Running Gitlab with Ubuntu Server on a fanless / low wattage pc

I am looking for a small fanless pc to run Gitlab with Ubuntu Server. Which brand and model pc would you recommend? Will the upcomming fanless Zotac Zbox C Series be an option? Or will the Intel NUC ...
0
votes
1answer
22 views

Version Control Foreman / Puppet

I have just setup Foreman for the first time & am not sure how to go about putting all of my configurations under version control. I know I can use Git for each module I install on my Puppet ...
1
vote
3answers
40 views

How best to backup My Documents (maybe with Git?) [closed]

I would like a good process to backup My Documents on my hard drive periodically to an external hard drive or repository. I want to have a snap shot at each backup period, and don't want to waste ...
0
votes
2answers
45 views

Which version of Git to use with Windows

I wish to install Git on Windows 7. There appears to be two versions. I will be using it in conjunction with Tortoise Git. http://msysgit.github.io/ http://git-scm.com/downloads An answer on ...
1
vote
0answers
12 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
1answer
19 views

Git amend via tig

I often use tig to select which modifications to add, and which to commit. I scroll via the patches, push u to add, and when I am satisfied, I press C to commit the added changes. Every once in a ...
0
votes
1answer
13 views

clone from bitbucket.org in command on guest linux virtual box through proxy in host

I am using an ubuntu virtualbox guest on a windows 8 host. I am going to clone a repo from www.bitbucket.org using git command in guest. BUT the problem: I realzied that I cannot connect to ...
0
votes
0answers
11 views

How to discard all working tree changes except for assume-unchanged files in Git?

I'm looking for a command like git reset --hard except for those assume-unchaged ones. For example: user@host /d/projects/test $ git init Initialized empty Git repository in d:/projects/test/.git/ ...
0
votes
1answer
22 views

How to install Ultisnips with Snippets on Linux?

I'm using Slackware and trying to install and use Ultisnips. I use Pathogen and the documentation says the following: > Using Pathogen: UltiSnips-using-pathogen If you are a pathogen user, ...
-1
votes
1answer
23 views

how to run a shell script on git commit

1) i have a shell script which basically contains some(database testing and integrating test code) , but i have to run this shell script when ever there is commit (or any change ) in my git repo the ...
0
votes
0answers
17 views

Recompiling a python program doesn't produce executable

Today I installed Mathics from their github repository: $ git clone https://github.com/poeschko/Mathics.git $ sudo python setup.py install And then I decided to modify the source a little bit and ...
2
votes
2answers
527 views

SSL certificate verification failure in Chrome, Heartbleed bug?

For some reasons I'm running into SSL problems since a few days. When trying to clone a git repository for example I receive the following error message: fatal: unable to access ...
0
votes
1answer
65 views

Can't get vundle or neobundle to work on GVim on Windows 7 64bit

Can't get these add-ons (vundle or neobundle) to work on my Windows 7 machine. Everytime I try to install plugins I'm getting the following error messages: Error detected while processing function ...
0
votes
1answer
16 views

is git-upload-pack necessary?

I'm getting the following error when trying to pull from a git repository: sh: git-upload-pack: not found I've seen many discussions about it and all of them suggest setting some path so that the ...
1
vote
1answer
16 views

Should a vagrant project be its own repo

So I've been working with Vagrant and I find it to be excellent but I'm wondering what the best or most common use of it is I imagine that there to be two ways to use it: The first would be to create ...
0
votes
0answers
22 views

Homebrew is not installing on Mavericks

git fetch is failing during installation of homebrew. Has anyone seen this before? Here's the transcript. I've tried removing /usr/local in its entirety, I still get this problem the next time ...
0
votes
1answer
19 views

Can I assign a hotkey to a cmd/Git Shell command?

So I have a Git Shell that I use to compile stuff. Typical commands are: cls ; make ; ./bin/Executable.exe Is it possible to assign a certain hotkey to this command in the existing shell?
0
votes
1answer
44 views

Better setting of EDITOR environment variable to use Sublime Text 2 as system editor?

I want to use Sublime Text 2 for editing Git commit messages. Right now I have the following in my bash rc file: export EDITOR="sublime -nw" This works well if Sublime is already running. But if ...
0
votes
2answers
32 views

Parse Git Branch Stopped Working (OSX)

I use a method called parse_git_branch which is called by my PROMPT. I'm using zshell, but I don't understand why this would stop working. Here's the function: parse_git_branch() { ...
0
votes
2answers
26 views

git using different version of vim than zsh

I've got a plugin called YouCompleteMe installed in vim. When vim starts with this plugin installed, it will raise a warning if the version of vim is under the minimum required. I'm using vim ...
-1
votes
1answer
17 views

Creation of commit object's Index in git?

Please guide me that the SHA that is created when the commit object is created is either the SHA of only the contents of file or there are some other inputs too to the HASH function like author of ...
1
vote
1answer
49 views

Accessing gitbash commands through conemu

I have tried to access gitbash command using conemu terminal, but I am unable to do so for some reason, it does not work for me. I check all the answers given including this Git Bash Here in ConEmu ...
0
votes
0answers
25 views

500 Internal Error when adding public key - Redmine - & issue with git repos

I am experiencing a problem when i try to add public key for a user in Redmine. Everytime i paste public key into a field in redmine and i try to save this user key i get redirected to Internal Error ...
0
votes
2answers
48 views

Installation of Git on Debian 7.4 fails

I tried to install Git (from source) on Debian 7.4, but the installation fails with the following message: Writing perl.mak for Git Writing MYMETA.yml * new perl-specific parameters GEN ...
0
votes
1answer
12 views

Cloning repository within many directories

I have this tree structure: ./ ../ user1/ user2/ user.../ user20/ I want to clone for all developers. Something like: ls | xargs git clone /my/project/repository.git I thought about using find ...
3
votes
2answers
276 views

Explorer stops responding when opening Git Bash

When I open Git Bash from the Explorer context menu, Explorer stops responding, regardless whether the folder is a Git folder. Immediately when I close Git Bash, Explorer starts to respond again. My ...
0
votes
1answer
22 views

How do I link a project in Eclipse with the Git repository I imported from?

I've googled all day and there's so many Git questions, it's hard to find anything about my actual question, which is this. I have a local Git repository set up. I can pull a previously committed ...
0
votes
0answers
8 views

How to automatic add file names in git commit message?

When I am writing a commit, I usually have the format: filename: add something I want commit to automatically add filename into the commit message, is that possible? I know about commit templates, ...
1
vote
1answer
37 views

Gitlab commits have the wrong ID

Developers committing on our internal network, from the company computers (we're using iMacs) have their commits display as [email protected], where I'd expect them to display as ...
0
votes
1answer
15 views

How to drop objects from git repo?

I have a git repo for backup, I used to let it backup many useless but large files, which is a stupid mistake. I untracked those files long time ago. When I recently git clone the repo, it's really ...
2
votes
1answer
28 views

How to git clone specific linux kernel build

I know I can git clone the linux kernel using the following: git clone \ git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git \ linux-2.6 But I'm wondering how to clone a specific ...
0
votes
1answer
36 views

git clone fails with “bad object” under msys2 in a VM

When I try to git clone a github project under my Windows 7 - MSYS2 VirtualBox VM, it fails: laurent@Win7 ~/Dev $ LANG="en" GIT_TRACE="1" git clone git://github.com/nanomsg/nanomsg.git trace: ...
1
vote
1answer
42 views

Can document root of the server be on client machine

Here is my problem. In our company we have a setup like this. There is a server with apache, php and all. All the client (dev) machine has their one drive (M:) mapped to the home folder on the server ...
0
votes
1answer
22 views

Tomcat and git on ubuntu

I have a tomcat server on ubuntu and I have a directory where i store all my git repositories, how do I enable my server to accept git push via https. I use realms to allow access to the directory. ...
0
votes
1answer
12 views

Disable automatic capitalisation of git checkout BRANCH_NAME in ZSH/oh-my-zsh

I'm using zsh 5.0.2 with oh-my-zsh plugin and whenever I do tab completion on git checkout f it comes out as: git checkout Feature\ For some reason it's automatically searching uppercase branch ...
0
votes
2answers
70 views

Installing Git on Linux Mint Debian

Background I recently moved to Linux Mint. I installed the LMDE201403 and pretty much have my environment setup. However, I need to install Git for my version control. I have searched the internet ...
0
votes
1answer
31 views

How to track external code in git

I'm working on a project where some code is original to the project, some code is modified from external sources (some of which use VCS like p4), and some code is mirrored from external sources. How ...
0
votes
1answer
19 views

Using git with certificate in PHPStorm

When using PHPStorm, I want to integrate git in my project, but I can't seem to find the option where you specify the private putty key for the current project.. Any ideas?
1
vote
2answers
237 views

How to git clone private repos within Vagrant VM, using host's SSH keys?

I'm able to use PuppetLabs vcsrepo to clone public git repos, but I'd like to also be able to clone private repos, using the host's SSH keys. What would the configuration look like for Vagrantfile ...
0
votes
0answers
30 views

What is the meaning of this git warning message in octopress deployment process

When I run rake deploy, I notice a git pull warning message $ rake deploy ## Deploying branch to Github Pages ## Pulling any updates from Github Pages cd _deploy There is no tracking information ...
0
votes
0answers
3 views

TortoiseGit Resizing “Log Messages” columns

When viewing log messages in TortoiseGit is there anyway to resize the columns for the individual changed files. They don't seem to be dragable, only use half the window width, and as such doesn't ...
0
votes
0answers
37 views

Right click when git is installed

When I install git on a fresh copy of Windows 8.1 embedded, right clicking on folders takes 3-4 seconds. If I remove git, right clicking takes the normal amount of time again. How can I reduce the ...
0
votes
0answers
12 views

Push commits to own repository in submodule

I have a big repository on a private where I work in and commit my changes. Now I depend on other repositories like v8, node and other ones. I tried to add them as submodule, but then I cannot change ...
0
votes
1answer
63 views

Can't uninstall or upgrade git

I'm on Opensuse ver 12.2. My git seems to be installed in /usr/lib. rnx@linux-sh2d2:~> git --version git version 1.7.10.4 rnx@linux-sh2d2:~> which git /usr/bin/git rnx@linux-sh2d2:~> cd ...
5
votes
3answers
1k views

Can not clone any git repository from github

Since the update to OS X 10.9.2 I am not able to clone any git repository from github.com If I run the git clone command I get the following error: git clone ...