Git is a distributed revision control system with an emphasis on speed.

learn more… | top users | synonyms

5
votes
1answer
292 views

Git autocomplete is asking for a password, not sure why

I'm running into an issue with autocomplete using git... I am using ubuntu 12.10 and when I perform the following keystrokes g i t Space Bar Tab I am presented with the error Pseudo-terminal ...
15
votes
3answers
18k views

git config global file - remove settings

The following command: $git config --global --list gives me: user.name=test user user.name=gotqn I want to remove the first name. I refers to this article and do the following commands but ...
3
votes
1answer
1k views

How to install Git on Ubuntu? [duplicate]

When I run this command: apt-get install git-core It shows: E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory ...
0
votes
1answer
269 views

gerrit push not working

I tried executing the command git push gerrit HEAD: refs/for/BR_PS_1109 It gave the response: fatal: remote part of refspec is not a valid name in HEAD: Git remote version is also fine, as evident ...
0
votes
2answers
656 views

Git does not ask for passphrase during pull/push in terminal

I'm trying to use git from the terminal in my Ubuntu 12.04 desktop. My repository is hosted in Github, and I have the a key for my desktop. Whenever I do either "git pull" or "git push," a dialog box ...
1
vote
1answer
189 views

bash: how to make smarter auto-complete on tab press

Using the git status command, I had: modified: conf/test.conf Is it possible to configure bash in that way so when I type git diff *test.conf and press TAB for auto-complete, it would expand it ...
0
votes
2answers
278 views

How to fetch the website code in my local machine?

I have a local GIT repository in my system by name 'git_repo' under which I had the whole codebase for a website (pre-configured by someone else), including all the jsps, js, css etc. I used the ...
2
votes
1answer
815 views

How can I create a launcher and also have it in the apps toolbar

I want an app icon for smart git. I can create one on my desktop with $ gnome-desktop-item-edit ~/ --create-new and selecting the smartgit.sh app. That works for an icon on the desktop. How ...
3
votes
1answer
306 views

Is there a way to show icons on a git repo folder like tortoiseGit?

Is there a way which could let me know all the file status by just looking at the folder view, like what TortoiseHg, TortoiseSVN, TortoiseGit did on windows? Now my git repo folder looks the same as ...
7
votes
1answer
10k views

“error: gnutls_handshake() falied” when connecting to https servers

When I try to connect to any HTTPS server with git, it gives the following error: error: gnutls_handshake() failed: A TLS packet with unexpected length was received. while accessing ... fatal: HTTP ...
3
votes
1answer
544 views

What are the advantages and disadventages of git or bzr + rsync vs rdiff-backup?

I used to use rsync to do backups, but then I switched to rdiff-backup to incremental backups. Recently, I discovered git and bzr while working on a coding project. So, I was thinking, I could have ...
3
votes
1answer
333 views

Permission to referance file in git changed on push

I have currently set up an ubuntu-server with gitolite and it works like a charm for the most parts. The only issue was when I downloaded and setup a web-gui (gitlist), to share my repositories. Im ...
6
votes
4answers
2k views

How can I have a shell for git like in Windows?

When I use Windows, the shell (even a standard Windows shell) shows basic information about the git repository when you are in a git repository. Things like the active branch and maybe some color ...
1
vote
1answer
11k views

Getting the program “repo”?

I'm trying to follow the instructions at http://developer.mips.com/android/android-source-code/ to install an android development environment on my Ubuntu 12 but I'm missing the program repo Could ...
0
votes
1answer
135 views

How do I recompile X.org from git?

I am having some problems with wheelmouse and mouse movement at the same time on ubuntu 12.04 and I found that the problem has been solved here: ...
0
votes
1answer
397 views

How do I compile and install gnome-tweak-tool from its git repository?

How I install the Gnome tweak tool from git://git.gnome.org/gnome-tweak-tool? I have install the Synaptic
1
vote
1answer
83 views

Which VCS to use for Ubuntu development?

I want to start contributing to Ubuntu projects and while going through the Beginner's guide, I noticed that the suggested VCS for Ubuntu development is Bazaar. I currently use Git and find it very ...
1
vote
1answer
3k views

I have a global .gitignore but files aren't being ignored, why?

I have a .gitignore_global in my home directory durrantm.../durrantm$ pwd /home/durrantm durrantm.../durrantm$ ls .git* .gitconfig .gitignore_global The .gitignore_global has: ...
6
votes
3answers
9k views

git ssh :Permission denied (publickey)

I tried to use github so I followed the help doc. But when I used this command : ssh -vT git@github.com I got error like this: jacos@Jing:~/.ssh$ ssh -vT git@github.com OpenSSH_5.8p1 Debian-7ubuntu1, ...
5
votes
2answers
10k views

Git ssh error: port 22: no route to host

I tried to use set up git and use it for github, then when I followed the help doc, but when I got to step 5 of the set up ssh keys section :Test everything out , When I used this command: ssh -T ...
3
votes
2answers
9k views

How do I set up Gitorious server on ubuntu?

I wanted to know how I can set up gitorious server on ubuntu and have it work locally. I'm running 12.04 and would like to get the latest version
0
votes
1answer
2k views

How do i fix problem with Ubuntu 11.10 server and gitweb?

Hi and sorry for bad english first :(... i have one ubuntu 11.10 server and i wanna make gitweb server. i refered to this site - ...
1
vote
0answers
724 views

what to do about .ssh-agent pop up at login screen? [closed]

I was setting up git with a ssh key passphrase on Ubuntu 12.04 via the terminal with the assistance of Help.GitHub: "You can run ssh-agent automatically when you open bash by adding the following to ...
5
votes
1answer
375 views

Where to obtain Ubuntu Supplied Third-Party Device Drivers Patches to apply them to vanilla kernels?

For testing purposes I usually download the ubuntu kernel available from git and build it for my PC. But usually the stable version of Ubuntu kernel is not always in sync with the latest stable ...
7
votes
2answers
11k views

Ubuntu 12.04 Gitosis no longer available

I have an Ubuntu 11.10 box running git server using gitosis, installed as described here https://help.ubuntu.com/community/Git I just tried upgrading to 12.04 doing a do-release-upgrade, and the ...
1
vote
1answer
897 views

Failed to install Gnome-Shell-Extensions: Missing Separator

I'm trying to install gnome-shell-extensions in terminal using these instructions: Download Gnome Shell extensions by running following command: git clone ...
0
votes
1answer
168 views

Where to put git “remote” repo on purely local git setup?

I overwrote and lost some important scripts and would like to setup version control to protect my stuff. I've used git before, and am familiar with commands, but don't understand where I would put my ...
4
votes
2answers
2k views

Download files from Git + GUI

This post is related to downloading files from Git Repository on Ubuntu 11.10. I have installed 'Git' from Software Centre including the components like GUI, revision tree visualiser etc etc The ...
3
votes
2answers
1k views

Why is git not using my pubkey with crontab?

To backup my sql database I have a cron job running that makes a mysql dump. Now I want to create another cron job that commits this dump to the repo, the problem now is that it doesn't work. In the ...
2
votes
2answers
3k views

How do I use git with google code on ubuntu?

I'm a beginner with git and google code, and I'm not sure how to set it up so that I can put my source on google code. I read some tutorials but I still don't understand.
2
votes
0answers
140 views

How can I fetch all in RabbitVCS Git? [closed]

Using command-line git I can fetch updates to all branches using git fetch --all. Is this possible in RabbitVCS? If so, how?
4
votes
1answer
12k views

tortoisegit for ubuntu

Are there any alternatives to ToroiseGIT for Ubuntu? I'm looking for something to integrate GIT with nautilus in the context menu. Like TortoiseHG used to (replaced with HG scripts)
0
votes
1answer
638 views

Kdevelop and git, commit button disabled

I installed KDevelop 4.2.3, enabled git plugin and created new project with git version control system. Repository was created in project directory and that's fine. However when I right click on file ...
6
votes
2answers
6k views

Error Installing Git with Apt-Get

When I attempt to install git on a server distribution of Ubuntu 11.04, I get an error. I used the following command: sudo apt-get install git And that generated this error: (Reading database ...
6
votes
1answer
1k views

How do I show the number of lines added(and deleted) in git? [closed]

I have to display the number of lines added(and deleted) to a certain file by all commits.
4
votes
1answer
158 views

How do I sort the authors of a repository by the number of contributions using git?

The name of an author is exactly the one given by the "Author" line of a commit. When I list the authors, their names must be followed by the number of commits they have.
4
votes
2answers
252 views

GIT, SVN, Mercurial and Bazaar packages available to install (GUI & Terminal)

What packages are available in Ubuntu to use the following distributed version control systems via Terminal or GUI? GIT SVN Mercurial Bazaar
1
vote
1answer
369 views

How to install gitolite on Ubuntu 10.10 server?

I am trying to install gitolite on an ubuntu 10.10 server. It seems from the google that gitolite should have a package in the repos, but I dont see any install candidates on my box. I can grab the ...
2
votes
2answers
931 views

Git Branch in ZSH Prompt?

When working on a git repository with multiple branches, how do I modify my zsh prompt to include my current active branch?
1
vote
1answer
993 views

Combining git GUI with the context menu?

I just installed git and qgit for Ubuntu and I want several features: To be able to see the hidden .git folder within folders. To be able to right-click a folder and say "create a repository here" ...
3
votes
1answer
3k views

Can't install “meld”

I'm trying to install meld on Ubuntu (I use VirtualBox on Windows 7) in order to visualize git diff: sudo apt-get install meld But, it doesn't succeed: ... Get:9 ...
10
votes
3answers
3k views

Issues checking out code from Google Code

I've recently upgraded to Ubuntu 11.10 and since then, I haven't been able to checkout code from Google Code. I can't get it with either svn or git, but they were both working before the upgrade (so ...
1
vote
0answers
154 views

Git public key error solution [closed]

I have set up my ssh key using this tutorial http://help.github.com/linux-set-up-git/ And tested it with this this command ssh -T git@github.com The result was my user name. And I pushed a existing ...
2
votes
1answer
248 views

Automatically mark files and directories tracked by git in nautilus

When you use git for a lot of projects it can sometimes be hard to remember which projects you use git for and which you don't. It's important to know this so that you commit changes if you make ...
7
votes
2answers
1k views

How to alias 'git' to 'g' so that bash-completion rules are preserved?

If I do this: alias g='git' I loose all completion rules (i.e. branches and remotes are no longer being automatically completed when I hit TAB after typing, for example g push o).
2
votes
1answer
722 views

git-ls-files: command not found

I googled this command and it said it is provided via git-man, which I have installed. Anybody having issues with this command not being found? It appears based on git-ls-files manpage that we can ...
0
votes
1answer
201 views

Why does Giggle ignore more than .gitignore?

This is a question about why Giggle acts in a certain way. Reproduce To reproduce what my question is about you need to have git and Giggle installed. Step 4–10 is not necessary to reproduce. I ...
3
votes
3answers
640 views

Keeping files that are often changed in sync between desktop and laptop

I'm looking for a way to keep a desktop and a laptop in sync. What I want to keep in sync are some folders, mainly ~/Documents, that are changed often when working on them. If it matters I can ...
0
votes
1answer
178 views

Ubuntu Gitosis init web folder

I managed to setup gitosis on Ubuntu, authorization done using SSH keys. Now I want to make some folders on this Ubuntu server Git Initialized and available thrue gitosis. For example /var/www/x1 ...
2
votes
2answers
760 views

Git basics, How can I grab files from git?

I am new to git so chances are there is a simple answer. I have a git command for grabbing a site git clone git@devel.foobar.com:foob.com.git Now when I run this I am prompted for a password via ...