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
14 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 '.'
0
votes
0answers
23 views

git credential command not working

When I ran git credential command, I get following error: git: 'credential' is not a git command. I correctly configured credential helper with the command git config --global credential.helper ...
0
votes
0answers
7 views

tig: increase view width

Is there a way to increase the width of a view? For example in status view if I select a file it splits the screen so that the status view is on the left and the stage view is on the right. I want to ...
0
votes
0answers
22 views

Apply changes in ~/.gitconfig

When I make changes in my ~/.gitconfig file I find they are only reflected if I restart my computer. Is there a command to "refresh" git so that the changes in the ~/.gitconfig file are reflected ...
0
votes
0answers
23 views

How to clean up output from `watch git gc`?

git gc updates the output as it runs, perhaps using backspaces, control characters, and/or curses. (I'm not an expert on this.) How can I modify my watch -n 60 git gc bash command so that the output ...
0
votes
0answers
90 views

Git for Windows has stopped working

git.exe crashes. It started happening after installing SourceTree, and now I cannot revert it to a working state, no matter what version I install - whether it is the git from http://git-scm.com/ or ...
0
votes
0answers
148 views

Various methods of trying to set up a git diff tool lead to “fatal: cannot exec […] : Bad address”

I'm on Linux Mint 17 64-bit. Just purged git and re-installed with apt. Deleted ~/.gitconfig. Only configuration I do after supposedly fresh install is (while inside a repo) git config diff.tool ...
0
votes
0answers
76 views

Setting up a git post-update hook

I am using the newest gitlab version on ubuntu server 14.04. There are 2 repositories that should stay in sync. (One on my local Ubuntu Server VM and one on an external Server) If I push my local ...
0
votes
0answers
75 views

Restore Gerrit project from local copy of git repo

What should I do to restore Gerrit project from local copy of Git repo? Suppose situation when bare git repo on master server was deleted and only local copy persisted. From local copy all references ...
0
votes
0answers
171 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 ...
0
votes
0answers
43 views

Prevent Git autocomplete listing remote branch names

I use msysGit/Bash on Windows with Git and I see there is a git-completion.bash file in C:\Program Files (x86)\Git\etc which I assume handles autocomplete in Git. When you type git checkout mas + ...
0
votes
0answers
40 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 ...
0
votes
0answers
59 views

Github for windows not working after install

Today I have installed Github For Windows. I had installed Github For windows earlier and at that time it worked fine but due to some reason I had to uninstall it. Today when I installed Github again ...
0
votes
0answers
11 views

Running Git Ls-Remote with certificate in Windows

I am wanting to run ls-remote against a remote repository to find it's HEAD. I am wanting to do so with a private key for authentication, but don't want to store the certificate in my .ssh/id_rsa.pub ...
0
votes
0answers
42 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. ...
0
votes
0answers
18 views

Configure Git in order to have one repository and different folders to be updated at the same time

I have a problem to figure out and was wondering how I can achieve this? I have 1 server with GIT and 1 project in a git repository. When I commit changes to the files, I need 2 different folders on ...
0
votes
0answers
19 views

Git only works partially (some git commands are found, other not)

Having some trouble with git today (worked lovely yesterday and can't figure out what changed) This is the scenario: The path is setup correctly and points to the git file, when using cmd OR the git ...
0
votes
0answers
28 views

how to avoid the x terminal forwarding

I use our remote server along with a team. apparently they made all the apps automatically do x forwarding. I know this b/c now if i simply want to run a git command git pull I get this error: ...
0
votes
0answers
14 views

Single directory for global git configuration files on Windows

I have a git repository that has my git configurations, i.e. config and ignore files. On GNU Linux I clone this repository to ~/.config since git respects $XDG_CONFIG_HOME. I would like to use a ...
0
votes
0answers
77 views

Git add file path completion not working with zsh on OS X

When trying to tab complete files with git add <partial-path><tab> the completion hangs. I have to quit it with ctrl-c. This is also the case for git rm. All other zsh tab completion seems ...
0
votes
0answers
18 views

Synchronizing Tasks across computers in Eclipse Juno

I am using Eclipse Juno to develop some software. I am part of a bigger team that consists of a few other members. I want to know if there is some way to Privately have (something like a repository) ...
0
votes
0answers
99 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 ...
0
votes
0answers
38 views

Gitolite Setup fails

I am getting the below error when I am trying to setup the gitolite. FATAL: errors found but logfile could not be created FATAL: /home/git/.gitolite/logs/gitolite-2014-06.log: No such file or ...
0
votes
0answers
52 views

git gui cannot handle non-ascii character in .gitconfig?

I just encountered a problem: The git-gui will spill an error when I have non-ascii symbols in the .gitconfig. For example, if I have an entry: recentrepo = /home/<username>/∞ π ∅ Then it ...
0
votes
0answers
7 views

GIT GUI locking access to launching folder

In recent versions of GIT GUI (obtained from http://git-scm.com/download/win ), whenever I open it from the desktop, the folder from which I opened it is made inaccessible. I can still access the same ...
0
votes
0answers
142 views

Change HOMEDRIVE windows variable to be dynamic on windows 7 to use Git

I have a Windows 7 notebook from work. I use Git as my version control system. I installed Git on the system before the administrator connected my computer to the office network. he changed my ...
0
votes
0answers
1k views

Can't git push to Bitbucket.org — with ssh keys

I'm running doku-wiki on may (Ubuntu) laptop for some note taking. So, to keep backup, I was using Bitbucket and periodically pushed my wiki files there and everything worked smoothly. (a) Some time ...
0
votes
0answers
43 views

What is the correct root file to import to aptana from an xampp folder/existing web app or git repository?

Very noob question - all of this is new to me - not really sure how to get started. Overview: I'm taking over an existing wep project that has been developed in aptana and deployed in xampp setup - ...
0
votes
0answers
38 views

Use server git installation in GitHub for Windows

We are using Git as the version control for our website development. I work from a laptop, which is connected to the internal network via a WiFi connection. I've mapped the server drives as network ...
0
votes
0answers
192 views

GitHub project uploading error: error, failed to publish this branch

I am new to GitHub and until today I have used the Online file creater for GitHub. Now that I want to use the Windows GitHub version. I am not able to understand why it isn't working. I have created ...
0
votes
0answers
129 views

Build a jenkins project with Git to manage source code fail with “no developer tools were found at 'Applications/Xcode.app'”

I have installed XCode4.6.2 in Mac, and start up a Jenkins site as "localhost:8080", when I create a job named "My First TDD Project" with free-style software project, I choose "Git" for source code ...
0
votes
0answers
33 views

disable direct access to git repo

I have set up a local git repo on a linux machine and have users check in and check out from it: /myfolder/gitrepo/ How can I disable any modification access to that folder directly unless they ...
0
votes
0answers
21 views

Cannot add contents of a directory to git

I have a directory A which is monitored by Git. In this directory, I have another directory B which is not empty. However, Git does not add the contents of this directory. When I push the repository ...
0
votes
0answers
118 views

Git/Bitbucket key management

I am new to devops or anything that is connected with managing multiple machines so I may be asking some newbie question. For one of the projects on my university I now have access to some instances ...
0
votes
0answers
28 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
0answers
30 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 ...
0
votes
0answers
94 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
0answers
82 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
0answers
40 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, ...
0
votes
0answers
125 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
11 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
68 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
25 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
0answers
36 views

How to create a selinux context that merges two existing contexts?

I want to have a git repository available to both: the smart http transport and thus writable by apache - this is handled by the httpd_sys_rw_content_t context. the gitweb interface - this is ...
0
votes
0answers
58 views

How can i exclude hostnames for using the default-proxy in git?

Is there a way to exclude the default-configured http-proxy from beeing used when checking out from local(corporate-network) git repository? We have a git repository that is only accessible when not ...
0
votes
0answers
19 views

Colorize only the changes and not the complete line in diff

I have to very similar files which usually only differ in the capitalization. Currently I'm using the default diff but seeing the actual difference can be hard. For example I compare files only ...
0
votes
0answers
30 views

only allow if “logged in user” == “directory name” in apache2

I have many git repositories that are served by http. Most of them are named after user names (e.g.: j.doe). Some generic repositories also exist (but contain no dots). Currently all allowed users can ...
0
votes
0answers
302 views

Cannot remove .COMMIT_EDITMSG.swp in .git folder

I have tried "rm .git/.COMMIT_EDITMSG.swp", however it is throwing the error: cannot unlink : permission denied What gives? I am using BASH on windows. Any help would be greatly appreciated.
0
votes
0answers
195 views

Google drive containing git repos?

I'm thinking of using a poor man's solution to backup my git repos (they are not huge). I have a notebook, no server/vps/nas at home. These are my pet projects, so 1-2 mbyte each, not a big deal. Are ...
0
votes
0answers
46 views

Zsh prompt produces an error

I have the default prompt for oh-my-zsh, which is great when I have a git repo, but if there is no git repo its actually failing instead of putting nothing. I trapped an ascii image to err just for ...