Hot answers tagged

105

I guess you are looking for an easy to use front-end for git. Take a look at "Graphical Interfaces" section of InterfacesFrontendsAndTools page on Git Wiki. There the following have been mentioned: gitk - graphical history browser, in Tcl/Tk, distributed with Git (usually in gitk package) git gui - graphical commit tool, in Tcl/Tk, distributed with Git (...


61

Update: seems to be a bug from 13.10: https://bugs.launchpad.net/ubuntu/+source/libpam-ssh/+bug/1247169 Anyway running the following commands the problem was fixed for me: How to fix I fixed this by entering the following commands: $ ssh-agent bash This creates a new bash process that allows you to add private keys. When adding a new private ...


56

RabbitVCS integrates Git into Nautilus. It is available for Ubuntu from a PPA. sudo add-apt-repository ppa:rabbitvcs/ppa sudo apt-get update For 11.04 and earlier: sudo apt-get install rabbitvcs-nautilus For 11.10 and later: sudo apt-get install rabbitvcs-nautilus3 You should reload Nautilus after!


53

Got reason of the problem, it was gnutls package. It's working weird behind a proxy. But openssl is working fine even in weak network. So workaround is that we should compile git with openssl. To do this, run the following commands: sudo apt-get update sudo apt-get install build-essential fakeroot dpkg-dev libcurl4-openssl-dev sudo apt-get build-dep git ...


52

Use the PPA from the maintainers of git on Ubuntu: sudo apt-add-repository ppa:git-core/ppa sudo apt-get update sudo apt-get install git If you don't know what PPAs are, first read What are PPAs and how do I use them?


45

You can edit the ~/.gitconfig file in your home folder. This is where all --global settings are saved.


44

Super late answer, but hopefully still helpful: git config --global --unset-all user.name Then you're free to: git config --global --add user.name <whatever>


40

The git-core package is a "dummy" package, which has the git package as dependency. This is because the git-core package has been renamed to git. The dummy git-core package should be safely removable. In previous releases, it seems git was a virtual package for gnuit (GNU Interactive Tools). Source


35

You can use the tutorial to install a Git server as aking1012 proposed you or you could just install SSH server on your EC2 instance (probably it would be wise to secure it and change the default port). Git can be server-less you init your repository and then you access it from remote via SSH. So instructions like this on the Ubuntu Server should do it: ...


32

To install the latest stable from command line... sudo apt-get install python-software-properties sudo add-apt-repository ppa:git-core/ppa sudo apt-get update sudo apt-get install git This should let you install 1.8.2-1~ppa0~lucid2.


31

I had a similar problem. For debugging I added a line in my ssh_config. Here is how I've done it: git remote -v There you will find a line like this: origin git@github.com:me/test.git (fetch) origin git@github.com:me/test.git (push) In this case the host is github.com. Now you can add a Host-Entry in you ssh config: vim ~/.ssh/config And add: ...


27

Under a Bourne shell, you can turn off gnome-keyring and get rid of this warning by running: unset GNOME_KEYRING_CONTROL to remove the gnome keyring path from your environment variables. You can also put this command at the end of your ~/.bashrc file. Under a C shell, the equivalent command is: unsetenv GNOME_KEYRING_CONTROL and the command can be put ...


25

You can add the following code to you .bashrc file: parse_git_branch() { git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' } PS1="${debian_chroot:+($debian_chroot)}\u@\h:\w\$(parse_git_branch) $ " You can move around these component parts to configure to your tastes, for example to prepend $(parse_git_branch) and not show the user@...


24

For IntelliJ 13/14, Click File-> Settings. Keyboard shortcut is Ctrl+Alt+S. Search for "Version Control" Choose "Git" under "version Control" In the SSH executable dropdown, choose Native


23

Having tested all the above mentioned tools, I have settled with the following tools for managing my Git repositories: SmartGit RabbitVCS SmartGit SmartGit is an easy-to-use graphical user interface for Git with optimized work-flows. SmartGit supports all Git and Mercurial features needed for every-day work in software development projects: Local ...


23

How about using SparkleShare? SparkleShare is intended for synchronizing projects between multiple contributors automatically using Git. You can use it basically as a tool for automatically saving changes to files it a version controlled Git repository, and don't need to use its multiple contributor features. It will connect to various services, including ...


21

You need to add the Git Maintainers repository in order to get the latest Git version. Please run these commands in order: sudo add-apt-repository ppa:git-core/ppa sudo apt-get update sudo apt-get install git Then, check the version of the installed Git: git --version It's not always necessary to remove the existing Git before upgrading it, but if you ...


20

The repository is stored as a bazaar repository on Launchpad. Multiple git branches are not currently imported - this is being looked at & can be followed at https://bugs.launchpad.net/launchpad-code/+bug/380871 Writing to the branches on launchpad is not supported, according to http://blog.launchpad.net/code/git-branch-imports-now-in-public-beta From ...


19

That is a commit message, and not an error. Your command succeeded.


18

This is all gathered from website and stackoverflow, hope this helps who are new to ssh so you can have many ssh keys ~/.ssh$ ls yyy_id_rsa yyy_id_rsa.pub id_rsa id_rsa.pub known_hosts Note: we need to add then to the ssh-agent, probably id_rsa will be added so we need to add the other private key ~/.ssh$ ssh-add yyy_id_rsa now we have added both ...


16

From Git version 2.3.0, you can use the environment variable GIT_SSH_COMMAND and pass the -v verbose argument like this: GIT_SSH_COMMAND="ssh -v" git clone example


15

This has been proposed already on Ubuntu braninstorm and on GNOME-Look.org but no code seems to be available at the moment. There is however a GNOME GUI front-end for Git called Giggle which is available in the Ubuntu 10.04 repositories (pre-packaged for other distributions as well, see the web page): apt-get install giggle.


15

I suggest rabbitvcs, which supports nautilus integration for SVN and GIT: rabbitvcs website


15

Yes; git has a gui you can run with the git gui command. If that doesn't work, it means you need to install the GUI for git. You can do this by installing the git-gui package. Or, even better, install the git-all package. sudo apt-get update && sudo apt-get install git-all See man git-gui for details. Note that while the manpage is called git-...


15

I still think a newcomer to this shouldn't go to compile drivers themselves, so understand that this is a process where lots can go wrong and you do this at your own risk. To begin with, you want to install the proper tools for that. To do so, open a terminal (ctrl+alt+t): sudo apt-get install build-essential autogen automake make xutils-dev autoconf ...


14

For all my Git server setups I use Gitolite which allows for a security granularity of "per-branch" access. Setup is pretty straight forward if you're doing it on a remote server it's as easy as running an interactive script. In addition to this "easy-to-setup" nature it also has a package in Natty and Maverick This won't provide a web frontend like Github,...


14

Copying and modifying opportunely from /etc/bash_completion.d/git, add the following lines to your ~/.bashrc: complete -o bashdefault -o default -o nospace -F _git g 2>/dev/null \ || complete -o default -o nospace -F _git g


14

The PPA ppa:git-core/ppa provides backports of the most current stable version of Git for various Ubuntu versions. On the command line you can add the PPA using: sudo add-apt-repository ppa:git-core/ppa If you receive an error stating add-apt-repository was not found, install it with: sudo apt-get install python-software-properties


14

A workaround for this bug is to add the following to the bottom of ~/.bashrc eval `gnome-keyring-daemon --start`



Only top voted, non community-wiki answers of a minimum length are eligible