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
5 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
7 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
11 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
1answer
17 views

How do I get the merge list with git?

When I try to merge a file, I get $ git merge origin/develop Removing t/table_statistic_grains_test.t Removing t/table_statistic_grains_calllog.t Removing t/table_statistic_grains_accession.t ...
0
votes
0answers
9 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
2answers
76 views

installing GitLab on CentOS7 failing due to create on resource user

I am trying to install gitlab on a VM under VirtualBox running CentOS 7 I am following the following instructions: https://about.gitlab.com/downloads (for CentOS) I configured gitlab.rb to contain: ...
0
votes
0answers
20 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
1answer
15 views

how come git bash can call java tools (xjc.exe) with unix paths but not cygwin?

From CMD.exe, I can run xjc as follows: xjc "c:/schema.xsd" -p abc -d "temp" From git Bash, I can run xjc as follows: xjc "/c/schema.xsd" -p abc -d "temp" As far as Cygwin goes, I can get it ...
5
votes
1answer
52 views

How can I use vim to view git diffs on Windows?

I want to use vim to view the output of git diff. I am running Windows 8 and I have vim 7.4 installed. I have, for convenience, created an environment variable VIMDIR set to Vim's install directory ...
0
votes
0answers
7 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) ...
1
vote
0answers
15 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 ...
0
votes
2answers
29 views

What are the implications of a shared git clone if the source repository is remote?

So, the a git shared repository seems to be more or less perfect for keeping folders with large blobs in sync. I have something like 700 GB of pictures and videos I want to distribute across my ...
1
vote
1answer
29 views

How to do linear git flow?

My dev shop has a preferred git flow like so: Checkout an issue branch (issue9). Solve issue (serve over port 80). Commit (git commit ...). Merge the issue branch into a local feature branch (cal). ...
0
votes
0answers
24 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 ...
-3
votes
1answer
31 views

Move Git repo from hard drive to server?

I installed Git on my Windows PC and now I have several git repositories on my hard drive. I'd like to move the repositories to my Linux server, which already has Git installed. How do I do this? ...
1
vote
0answers
32 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 ...
0
votes
1answer
43 views

Can't use homebrew installed git

I'm encountering a really weird issue when I try to use the latest version of git I just installed via homebrew. which git is pointing me to the homebrew install, but calling git returns the original ...
1
vote
1answer
17 views

How can I put my skype notification settings in a public git repo

I maintain key configuration files in a public git repo - I'd like to put my skype configuration in it too, because I find the default configuration way too noisy. The newer version has started ...
1
vote
0answers
27 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 ...
0
votes
1answer
8 views

Emulate ff-only behaviour on Git 1.6.0.2

I have the following problem on one of our servers: I want a user that pulls from a Git repo on a regular basis (using a cronjob), but only doing fast-forward pulls (the content on the server changes ...
-1
votes
0answers
8 views

Odd behavior when Git repo is in C:\Program Files

We have a Git repo in C:\Program Files\Some-DB\Some-DB-Queries. When Git (or SourceTree) is run as Admin, everything works as expected. However, as non-Admin, after pulling into a local repo, Git sees ...
0
votes
0answers
12 views

How can I browse through Homebrew's formulae according to popularity (# downloads all time)?

Though I can easily find an alphabetical list of all available formulae, there seems to be no resource online, including at Brew's Github, or seemingly anywhere where I'm able to browse through ...
0
votes
2answers
48 views

How can I use a text editor other than Vim with Git?

I hate Vim, but it seems to be the only program that correctly saves the file and executes a rebase interactive. Is there any way to use a different editor. I'd prefer to use a GUI, like Text ...
-1
votes
0answers
24 views

Dropbox is slowing down right click context menu

I’m having an issue with Dropbox where the files in a git repository hosted in my Dropbox are showing a 3-7 second delay when I right click on them. I’ve ran a search on google without seeing anyone ...
0
votes
1answer
16 views

MSysGit is adding a cygwin prefix to non-cygwin paths and then failing to find its current directory

I've had Cygwin's git installed on my Windows 7 64 bit machine and it's been working fine. However, I've found myself wanting to be able to use git from non-Cygwin programs (in particular, Windows ...
0
votes
0answers
19 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 ...
0
votes
1answer
24 views

How is the location of .ssh determined?

On my windows machine, when I ran ssh-keygen, it created a directory at ~/.ssh with the key (and a known hosts file), and then I could use ssh to connect to sites (and git worked with ssh). On my ...
1
vote
0answers
50 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 ...
0
votes
1answer
59 views

Cannot run Git from windows command line?

I have an unusual problem. I am not able to run git from the commanline: c:\> git (popup) c:\> Popup: I also found this (non-) info in the windows logs: How can I get git to run from ...
0
votes
0answers
21 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
23 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
6 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
1answer
53 views

How to commit files modified by pre-commit hook in Git

Im struggling for a couple of hours to make git store metadata (permissions/flags/etc) of the files using metastore and I use hooks/pre-commit for this. The script is invoked correctly, and the file ...
0
votes
1answer
16 views

Github email questions

I am running Fedora 20 which gives me the option to set up Evolution. I do not want to but I still want github to put my real email address on my commits. How do I do this, or will github do this once ...
2
votes
3answers
36 views

Version control (hg): can one directory be “synced” with different repositories?

I have a directory for my work files which is under version control (Mercurial): ~/myfiles In a subpath, I have a directory with Emacs packages for my org-mode setup: ~/myfiles/org-mode As I said, ...
0
votes
1answer
24 views

Git commit two project code as single project in the repository

I am new on git open source. Actually I have one android project i.e AllScan, SO I commit all the code in original master repository when I made the changes into the code. Now I have implemented new ...
1
vote
1answer
31 views

Some Git questions

I'm starting to learn GitHub, and I have a few questions: How do I remotely remove files from my GitHub repo but keep them on my local machine? How do I upload ONLY .c files when my directory also ...
0
votes
1answer
68 views

How to show particular 'dot' or hidden files on OS X

Is there a way to configure OSX to always show particular dot files? I'm familiar with the commands to toggle between showing and hiding hidden files. Show Hidden Files: defaults write ...
1
vote
1answer
34 views

Understanding implications of sudo -u -H

I'm trying to install gitlab from this guide on Ubuntu 14.04 Server. It is also worth mentioning that I'm behind a http proxy. I'm having problems with this line in particular: sudo -u git -H git ...
0
votes
3answers
20 views

Installed GIT for Mac, but cannot locate file

I'm a new MAC user running OS X Mavricks and I am trying to get git up and running on my MAC. I successfully downloaded the program from the website and ran it. However I can not find it installed ...
0
votes
0answers
24 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
1answer
20 views

Using shared git working area on multiple hosts

I'm transitioning my personal projects from using subversion (svn) to GIT. In subversion, I've used a shared SVN working directory on several hosts (despite people telling me it wouldn't work), and ...
0
votes
0answers
147 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
31 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
1answer
80 views

GitHub configuration terminal says “no such file or directory”

I'm following the tutorial to configure GitHub but my mac terminal says that I have no such file or directory. iMac-di-:~ user$ git credential-osxkeychain Usage: git credential-osxkeychain ...
0
votes
0answers
22 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
1answer
100 views

Getting .net error while installing Github

Github Installation failed with the below error. Component Microsoft .NET Framework 4 (x86 and x64) has failed to install with the following error message: "A failure occurred attempting to install ...
0
votes
2answers
43 views

git push/pull keeps on trying to produce GUI window

Every time I try to do git push or pull on one of our work server I get a "Error: Can't open display:" warning, unless I login with -X forwarding, in which case some ugly 90s looking window pops up ...
0
votes
0answers
58 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
1answer
155 views

Bitbucket ssh Read from socket failed: Connection reset by peer

I'm using ssh to access git repository on bitbucket.org. Suddenly I can no longer connect to it. Haven't installed anything or did any changes to the settings. $ ssh -v git@bitbucket.org ...