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
2answers
112 views

Can I use one local git repo as client/server?

We have git repo remotely located and local connection is very slow. Syncing 1 GB of data for every user is a painful job. Is it possible to setup one git locally to which all local users can sync and ...
3
votes
2answers
5k views

Windows is saying access denied to files I own

So, recently Windows has decided to do some trolling on me and make it impossible to commit to my git repository It gives me this error in git (in Cygwin): $ git commit -a error: insufficient ...
3
votes
1answer
2k views

Why can't I install Git for Windows with OpenSSH?

Whenever I try to install Git for Windows, using the installer downloaded from here, the installation seemingly skips the step where I configure my Secure Shell client for Git. Normally during ...
0
votes
0answers
292 views

Issue committing files using GitHub app

I've been using the GitHub app for a while now, and recently it's given me some problems. My most recent problem has me up the wall. Here's what happened. I noticed that some of my files were messed ...
1
vote
0answers
132 views

Syncing selectively from a fileserver to a laptop - unison, git, or something else? [closed]

I have a fileserver with all my worldly digital possessions on it. (Don't worry, it's backed up.) I want to selectively be able to carry small portions of the contents of my fileserver with me on my ...
1
vote
1answer
6k views

Can't authenticate with git

I'm trying to publish changes to a project in GitHub, but I keep getting this authentication error: root@nodeTwo:/usr/local/src/cedit-dev# git push origin master Username for 'http://www.github.com': ...
0
votes
3answers
557 views

Making MacVim/gVim “block” the terminal until closed

A long time ago, before I switched to vims, I used an editor for OS X known as TextMate. (Anyone remember that? ;) Its command-line binary, mate, allowed for a mate -w flag, which would block the ...
0
votes
2answers
255 views

how to sync localhost and VPS

I'm a web geek and totally new to server side Fields.Our University have over 40 branches within the country and we now going to have a web based system to dealing with student registration,payments,...
0
votes
2answers
422 views

How do I add a parent commit before all other commits in Git?

I am in a situation where I am trying to convert an open source project to Git, and I have recently gained access to historical data for the project. I have already made modifications to the repo, ...
0
votes
3answers
246 views

How to easily write a website using a text editor and version control? [closed]

Question I would like to write a website with nice design, say like the ones generated by WordPress, SPIP or with advanced CSS-based templates. At the same time, I would like to write the contents in ...
3
votes
0answers
471 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,...
0
votes
1answer
4k views

Zypper on Ubuntu

I'm trying to install packages using zypper but Amazon server that runs Ubuntu seems not to have zypper installed. How can I install zypper? code: zypper install git gcc gcc-c++ error: > ...
-1
votes
1answer
1k views

Unable to update Eclipse because of a conflicting dependency with git/egit

Can anyone advise on how to resolve this? Cannot complete the install because of a conflicting dependency. Software being installed: Eclipse Git Team Provider 3.0.1.201307141637-r (org.eclipse.egit....
3
votes
1answer
3k views

Stop Thumbs.db files in certain folders

I'm a big fan of folder+file thumbnailing, so I'm all for thumbs.db files. However, I'm working on a Git project, so every time I commit my git folder to the online repository, some thumbs.db files ...
2
votes
2answers
3k views

How to update Git on Mac OS X from system default to latest

How do I update or upgrade Git (1.7.12.4) to the latest version 1.8.3.4 on OS X (10.8.3)? I downloaded Git from git-scm.com and installed it. But it didn't use the latest version that I installed – ...
0
votes
1answer
200 views

tarballing a git branch to a remote server using a sudoer

I have this compound command working for the root user and have been jumping through hoops trying to get it to work for a sudoer (rsa keys, echoing the pwd, supressing tty etc) but I can't seem to get ...
8
votes
2answers
5k views

Checkout Git files to a location outside the repository

Is it possible to “checkout” to a location outside of the repository? What I mean is a clone of a branch without the “.git” directory. For example: Use git to manage a website. You edit some files, ...
3
votes
1answer
2k views

How to get git flow completions for zsh working?

I have git and git-flow installed via Homebrew. I am on a Mac. I have zsh 5.0.2 (x86_64-apple-darwin12.4.0) git completions are working. git-flow completions are not. I cannot get git flow ...
0
votes
0answers
82 views

Can gitlab be installed with Cherokee web server?

I've looked all over and can't figure out you could use Cherokee instead of Apache or Nginx for gitlab. I'd rather not run multiple webservers (and imagine that they could conflict anyway). I'm giving ...
2
votes
3answers
5k views

how to pull into multiple branches at once with git?

In a repo I have multiple branches, among them "master" and "develop", which are set up to track remote branches "origin/master" and "origin/develop". Is it possible to specify that I want both ...
4
votes
1answer
164 views

Ubuntu insists on installing git 1.7

I had Ubuntu 12.04 LTS and I recently upgraded to 12.10. Though I already have git 1.8 installed, update-manager keeps trying to install git and git-man version 1.7 (which obviously fails)! Any idea ...
4
votes
1answer
2k views

Emacs as git editor, what is Rebase mode?

When I run git rebase -i I get the absolutely horrible Rebase mode in emacs. This only accepts some pre defined commads like c -> Pick r -> Reword etc... Even if I change to text mode emacs auto-...
3
votes
2answers
2k views

Git won't push into a bare repository on server

I just installed Gitolite on a server, so any repositories that I'm pushing into on it should be bare repositories, and I've even went into the repo directories, and ran git init --bare in them to ...
12
votes
3answers
3k views

Is it possible to have git gui / gitk look good on a retina Macbook Pro?

I really love git gui and gitk. They work very well for me and I know exactly how to use them. Sadly, they look really pixelated and ugly on my retina macbook. Since it's just text and chrome it would ...
0
votes
2answers
250 views

Git TFS issues using .dotfiles through Parallels

I'm having an issue with using Git TFS through Parallels with a repository that contains files starting with a dot, vis .gitignore. I'm using Parallels to run a Win8 VM on a Mac. I've got /users/ben/...
1
vote
1answer
78 views

How can I use a '#' character in a git command?

I'm trying to close an issue on Bitbucket from a commit message through fugitive.vim's Gcommit command: :Gcommit -m "Fixes #1" When I check the commit message, #1 has been replaced with index.html (...
0
votes
1answer
68 views

GIT Permissions

There is something not clear for me and this is how to prevent other people read my code. The thing is that I want people create their own branches but not to view the other's branches. If someone is ...
0
votes
2answers
69 views

Version control options for research project [closed]

Good day. I know that we're supposed to ask questions that can be answered and not just discussed, so I'll try to make my question quantifiable, even though it's not completely so in nature. I'm ...
2
votes
2answers
2k views

Working with git via crontab

I have the following shell script #!/bin/bash REPODIR=$HOME/work/repository/ cd $REPODIR var=`git fetch --dry-run 2>&1` echo $var > $HOME/error.txt I want to run my script every minute, ...
0
votes
1answer
1k views

How to conveniently create and edit ASCII tables?

Are there any text editors which can read in a plain-text file containing an ASCII table and render the table wih convenient table-editing tools such as "add row," "auto-fit column width," "delete ...
0
votes
2answers
571 views

SourceTree thinks .vimrc is binary

SourceTree thinks .vimrc is binary, so I can't see the diff within the window. Based on this page, I thought it was because of the encoding, so tried changing the encoding to utf-8 using the ...
3
votes
0answers
589 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
2answers
1k views

Windows 7 & Git Bash: Doesn't Recognize pear/phpunit

I can run pear/phpunit from "cmd" just fine. I checked %PATH% and everything that is there is also in $PATH. To be clear, this is not msysgit -- It is this: http://git-scm.com/downloads Anyone know ...
0
votes
1answer
371 views

Git is allways showing “Broken pipe, cant write”. Where can i see further information?

I use ubuntu and get always the error "broken pipe, cant write". Where can i see the log files to get further information about the errors? The error occurs when i try to do a fetch or a pull.
1
vote
1answer
84 views

git clone replicates submodules, but they are not repos anymore

I have a project I want to clone: $ git clone repo1 repo2 Everything copies over. Then I initiate submodules: $ git submodule update --init --recursive It downloads and populates the folders ...
2
votes
1answer
1k views

How to reference a git repository?

What should the actual path to a git repository 'file' be? It's common practise when cloning from github to do something like: git clone https://user@github.com/repo.git And I'm used to that. If I ...
0
votes
1answer
68 views

Can I track files in two git repositories simultaneously?

I've got two repositories set up for a class I teach, one outward-facing with demo and example code, and one to track changes I make to the class manual. I've written the manual in LaTeX Listings ...
3
votes
2answers
2k views

SSH 'Host key verification failed' error

I've generated my ssh key and uploaded it to my github account. What I do was copy directly my id_rsa.pub to my github account. I've verified the key to my local key using ssh-add -l, it was the same....
2
votes
1answer
902 views

How to set up git repo on my subdomain?

I have a centOS VPS and I have install git. However, I want to set up a git repo on a subdomain on one of the domains hosted on my vps in order so I can push there for testing. How do I do this?
2
votes
3answers
153 views

Is there a git GUI for people who don't even know what git is? [closed]

I have set some of my clients up with Sparkleshare for shared documents, to avoid overly complex solutions like Alfresco etc. At the moment, accessing old versions of files requires me to get it for ...
0
votes
1answer
1k views

Use a bat to execute a cmd (say git) as though in another folder without cd

I have a windows BAT script that does the following: call git reset --hard call git clean --force This works, but I really want to execute it within the context of another folder, something like (...
1
vote
2answers
2k views

Permission denied (publickey,gssapi-with-mic) when cloning Git repo

I was cloning a Git repository and I had copied my id_rsa key from another PC to my /home/me/.ssh/ on Ubuntu 12.04, however this error shows up: Permission denied (publickey,gssapi-with-mic). ...
0
votes
1answer
242 views

Sharing windows 7 id_rsa and id_dsa key to another OS

On my windows 7 I have both id_dsa and id_rsa keys. I've decided that I want to switch to ubuntu 12.04 LTS to be exact. can I transfer my id_dsa and id_rsa keys and other git configurations to Ubuntu? ...
4
votes
1answer
138 views

Using su with commands

Ubuntu Server 12.04 On a remote server that I ssh into I have set up a special user with: sudo adduser --system --disabled-login --disabled-password --group suser to run some maintenance functions. ...
1
vote
2answers
637 views

git pull returns “not a git repository” error

I am attempting to pull my code from a remote repo. When I run 'git pull' I get the following message: $ git pull root@gohyperspace.com's password: fatal: 'var/www/html' does not appear to be a git ...
1
vote
1answer
1k views

Git on Windows 8: “git-pull is broken?” error

When I run 'git pull' from TortoiseGit on my Windows 8 machine, I get the following error: fatal: 'pull' appears to be a git command, but we were not able to execute it. Maybe git-pull is broken? I ...
0
votes
1answer
1k views

Why am I unable to Git push even though I've local commits that are yet to be pushed

My eclipse workspace Github repo My workspace has few changes that I want to push to github. I've already commit'd them. Wen I try Push from eclipse, I get the below I am not sure what I am ...
4
votes
2answers
1k views

Clear Recent Repos in Git Gui

How can I clear entries in the Git Gui's the recent repositories without deleting those repositories or the .git folders within them? Here is an example: Here is my Git/Git Gui version info:
2
votes
3answers
2k views

Adding Git repo and branch to Tmux status line

I have found a Tmux configuration file that shows how to add the Git branch to the Tmux status line, however It just shows [[ branch ]] no matter if I am in a Git repo or not. I am not sure if this ...
0
votes
2answers
114 views

How to find the process which has a lock on a file in a linux environment

So I have a problem similar to this individual... http://stackoverflow.com/questions/13635429/git-rename-from-index-lock-to-index-failed So it seems that he eventually solves his problem by finding ...