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

2
votes
1answer
523 views

Make Filezilla work with .gitignore files

Is there a way to make Filezilla read the settings i added to .gitignore file and then do the same? (ignore the files specified in the gitignore file)
4
votes
4answers
6k views

Why is Git falsely noting that my files are up-to-date?

I have 2 folders A and B in my file directory that link up to the same Git repository. I created a file in folder A called "index.html". I then create a different file also called "index.html" in ...
1
vote
2answers
133 views

Installing a second version of e.g. git, perl and or python on osx lion

At the moment i am running git 1.7.5.4, perl 5.12.3 as well as python 2.7.1 on osx 10.7.3, which were all included in the basic system setup. Applying the "which" command the locations are: ...
6
votes
1answer
884 views

Git completion with aliases

I have a convenient dotfiles repo on Github for you all to look at, here. FYI, git is installed via Homebrew, as with most of the executables on my system. My git-completion in zsh works fine when I ...
1
vote
2answers
280 views

Why don't applications update by calculating difference?

I have Ubuntu computers and an Android phone, and it's always perplexed me why the default update manager on Ubuntu and Google Play on the phone don't update existing versions of applications by ...
2
votes
1answer
2k views

code.google.com: git: fatal: remote error: Repository not found

I have created a new repository in code.google.com, generated the code.google.com password and updated my ~/.netrc with machine code.google.com login <email-id> password <password> As ...
1
vote
2answers
121 views

How can I see a detailed difference between files in the last git pull?

I run a git pull and see that a file has changed. I would like to see a line by line difference of what has been added or removed. I tried git diff 12345..67890 , (newest commit)..(second newest ...
5
votes
3answers
2k views

Using git, how do I go back to first commit then go through the history?

I cloned a project from Github and now I wish to revert it to the first commit, how would I do this? Also, once I am back to the first commit, how do I go up to the second commit, and then from the ...
1
vote
1answer
293 views

Version Control for Eclipse that's like Xcode 4's version control?

I really enjoy Xcode 4's version control with git. It's all very simple and intuitive and enables me to be extremely productive. If I modify a file, a little 'M' pops up next to the file and all I ...
1
vote
2answers
126 views

Can Git be used when “experimenting”, changing drivers and software on Linux?

I have no idea how to use any backup software with Linux, but I do know Git. I hope this isn't a silly question as the obvious answer is to use some form of backup software, perhaps - but, I was ...
5
votes
2answers
3k views

How can I share a git stash?

Is there a way to share a stash in git? I work on a number of machines, and often want to be able to move my current working state from one to another. I'm looking for a way that I can push/pull a ...
0
votes
1answer
447 views

git init --bare permission denied on 16gb USB stick

I am using GIT on a Windows 7 machine (64 bit) and have been learning how to use GIT to version control my files. Now I want to be able to create a --bare repository on an external device (in this ...
1
vote
0answers
575 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 ...
0
votes
2answers
911 views

SSH Github can't connect

I went away from Git for 4 months and now returned to it, using @Treehouse Git Tutorials. I tried installing Git 1.7.9.1 but my computer Mac OSX is already installed V.1.7.5.4 from 4 months ago and ...
2
votes
2answers
3k views

Why is it that XCode cannot push my changes?

I am writing an iOS application in XCode. I associated a remote repository to it. I finished writing a View Controller file and then went to File -> Source Control -> Commit. I wrote a commit ...
6
votes
1answer
3k views

Why is git so slow with large files?

I was trying to use git to manage my pictures (backup / take snapshots). The entire library is several GB. Most of the files are JPGs of 2-3M. When I was adding the files into repository, it seemed to ...
0
votes
1answer
1k views

Git clone on an ovh host server

I want to do a git-clone from an ssh connection, on an ovh host-server, but it does not work: Here's the command I entered: git clone ssh :/ / forumdesy@ftp.forumdesthinktanks.fr / www / (and all ...
9
votes
1answer
7k views

How can you avoid being asked to enter your BitBucket password when you push to BitBucket wiki?

I'm not sure if everyone experiences this - when I edit a BitBucket wiki locally (through a git repository) I have to enter my BitBucket password for every pull and push. Is there any way around ...
4
votes
1answer
934 views

What is the difference between git svn init + fetch and git svn clone?

While trying to use locally Git at my workplace where we use SVN I was searching a lot for how to set everything up. From what I found it seems there are two approaches to the problem, either: git ...
2
votes
1answer
2k views

git clone times out even though ssh -T works fine?

I used to have a working Git installation on Windows, but for some reason, it's not working anymore, and I don't know what to do to fix it. If I were to follow GitHub's setup tutorial, it says that ...
5
votes
1answer
3k views

Can't run “git” without sudo on OS X

I have an administrator account on my OS X Lion 10.7.2. I have installed a few applications through this account, but I am not able to run them without sudo. For example, I installed git and I cannot ...
2
votes
2answers
594 views

Git completion __git_ps1 really slow on Mac

I've had __git_ps1 in my bash prompt for a while, but just recently (I noticed it after I did some messing around with Homebrew and rbenv), it has slowed down my prompt horribly. When I'm in a git ...
3
votes
1answer
585 views

bootstraping a SparkleShare project

I just tried SparkleShare as a possible replacement for dropbox/insynch. It looks quite promising, being based on open standards. I was wondering if someone has gone though the process of ...
2
votes
1answer
218 views

Existing software for a gist-like intranet? [closed]

Recently I been thinking about how a intranet could use markdown for their documents. Which these documents can be modified and use git for version control so they are like a gist on github (each ...
4
votes
1answer
225 views

Is there anyway to color `git push` output?

I've tried using: stderred, https://github.com/sickill/stderred colors in git, http://scie.nti.st/2007/5/2/colors-in-git global config color.ui=true. Though the output from git push on error is ...
0
votes
1answer
250 views

GitX: reset master to here

I'm using GitX to work with a Git repository for a project. Somehow, things got out of sync and although I can pull the latest changes, I can't commit anything because it thinks there is an unresolved ...
1
vote
1answer
105 views

Git commit: reset Vim error state

When I make a new Git commit (git commit) and it enters Vim, sometimes it happens that I make a small typo when I want to save the commit-message-file. E.g. I type :Wq instead of the usual :wq. Vim ...
1
vote
1answer
163 views

Create a Git view like in SQL

Is it possible to create a view of a Git repository just like in SQL? I would like to give someone access to a repo, but just on a certain file types such as CSS; however, I want to deny access to PHP ...
1
vote
0answers
544 views

slow git performance

I have an older machine with a git repository on it that I use to keep synchronized with svn. I've noticed that with running basic commands like git status, it is ridiculously slow. I was initially ...
1
vote
1answer
382 views

Colored man pages but git --help is not in ZSH

I have colored man pages according to: alias man="TERMINFO=~/.terminfo/ LESS=C TERM=mostlike PAGER=less man" so man less looks like but git blame --help is uncolored
11
votes
2answers
5k views

Homebrew won't link git

When I installed git or upgrade git via brew I couldn't link it with brew link git. If I try sudo brew link git I get: cowardly refusing to sudo brew link It says that I have to check the ...
0
votes
1answer
262 views

Why does sed cause git to consider the entire file rewritten?

Using Cygwin on Win7x32, when I use sed to replace some values in a file, git then considers the entire file to be completely rewritten (i.e., 500 insertions, 500 deletions). What's going on here? ...
6
votes
1answer
395 views

Can you GPG sign old commits?

Git now has the ability to sign commits with git commit -S, which is great, but sometimes I forget the flag to commit, and sometimes I mail myself patches which I apply with am, and that command ...
1
vote
1answer
2k views

how to repo sync by date?

Can I use repo to sync by date? (possible in git) For example, I want to download the source as of March 1 at 3pm. I need a way to grab a specific base of CyanogenMod9 source. It would be nice to use ...
5
votes
2answers
1k views

Remove all “deleted” files in Git

Is there a better solution for removing manually-removed files from the Git repository than my current error-prone command? git status | grep deleted: | cut -d: -f2 | xargs git rm
0
votes
3answers
3k views

How can I install git on a CentOS system without an internet connection?

I need to install git on a CentOS 5.6 64-bit system, but I do not have an internet connection, so I can't simply download it through yum. Also, I do not have gcc installed, so I cannot build it from ...
4
votes
1answer
1k views

Adding Git Bash Here (right click) option with silent install

I want to install git silently. But this machine will be developer machine. So I need to have right-click "git bash here" option. I do that "git.exe /VERYSILENT" but it loads git as default. What is ...
1
vote
1answer
65 views

How do I commit my GIT project to SVN?

I have a project that I have been working on locally with Git but my work uses SVN and I want to add it to their SVN server. How would I do that? I think this is what I want to do but I am not ...
13
votes
5answers
2k views

How can I discard file change from fugitives status window?

When in the fugitive-plugin status window, accessed using :Gstatus, it's possible to diff changes for a file using D and toggle files for commit using -. Is there any similar shortcut for discarding ...
0
votes
0answers
317 views

Unable to login using ssh PuTTY

I'm facing a weird problem with ssh login using PuTTY to "git.xxx.com". Weirdest thing is using same privateKey file I can login successfully with my Windows 7 machine, but not with my Win XP machine. ...
3
votes
2answers
5k views

How do I install git on Ubuntu and manage my files?

I have Ubuntu on my PC. I want to make all code inside /var/www/ git-versioned. Where is the best to put my git files and how do I setup git for files inside /var/www/? Edit: Better explanation ...
2
votes
1answer
256 views

Git, Powershell, %HOME% and multiple repos

I'm going to start off by saying that I'm not particularly good with either git or Windows. However, I've been successfully using msysgit on Windows 7 for a while now, keeping track of a number of ...
1
vote
0answers
63 views

Java opens a new window when I start it from mingw/msysgit, how can I stop it?

When I launch anything that uses Java, i.e., command lines beginning with java, javac, jar, mvn, etc., from cmd, I see the output in the same window. When I launch them from msysgit's bash shell on ...
1
vote
1answer
565 views

Deleting Git History Prior to a Certain Date

I accidentally committed some sensitive information to a public git repo (yikes!). Is there any way I can permanently remove all history between a certain date range? Should I just delete the entire ...
0
votes
1answer
444 views

How do I set up multiple folders for access on localhost in Ubuntu Linux?

I'm working on practicing my server setup/command line/Git/ruby on rails skills in Ubuntu, and I have set a folder up with Ruby on Rails to do so. This folder has a rails server which can be accessed ...
2
votes
1answer
103 views

Github switch master repository

I've created a new account at github for a company, and I cloned my own repository to that account. However, I would like the repository in the company account to be the master (so my account can ...
3
votes
3answers
9k views

using puttygen generated public keys in unix environment? [duplicate]

Possible Duplicate: How to convert .ppk key to OpenSSH key *under Linux*? (unix, here: ubuntu 10.4) I know how to create ssh key pairs in unix (ssh-keygen) and how to do it in windows ...
1
vote
1answer
112 views

Why is a branch not displayed in Msysgit?

I have a branch called "develop" in my repository (as confirmed by git branch -a). However, I do not see it in the history view of Msysgit. Is there something special about this branch that causes ...
2
votes
2answers
348 views

Saving Git remotes inside the Git repository itself?

I have a few projects under version control using Git. Since it is a distributed version control system, it is very easy to have it hosted at multiple places (GitHub, Bitbucket, Google Code, etc.) ...
1
vote
1answer
877 views

how to make automatic git mirror for hg repo

I've Vim plugin project on GoogleCode using Mercurial, but users wants to have it on github to ease use it as git subrepo (to keep their ~/.vim/ on github with all plugins inside). Personally I ...