Tag Info

Hot answers tagged

52

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!


52

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 ...


32

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


29

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: ...


29

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.


26

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 ...


24

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


24

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 ...


21

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

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 install build-essential fakeroot dpkg-dev mkdir ~/git-openssl cd ~/git-openssl sudo apt-get source git sudo ...


19

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


17

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 ...


16

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>


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.


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 ...


13

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 ...


13

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 ...


12

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 ...


11

Searching google for "Agent admitted failure to sign using the key." suggests that logging out of your current session and then back in, or using ssh-add should solve the problem Rationale: Ubuntu uses ssh-agent program: ssh-agent is a program to hold private keys used for public key authentication (RSA, DSA, ECDSA). The idea is that ssh-agent is ...


11

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


11

If you're looking for an advanced backup tool, I'd recommend Back In Time . You can configure it in many, many ways, but here is how I use it: Take a snapshot every hour Keep hourly snapshots for the past 24 hours Keep daily snapshots for the past 7 days Keep weekly snapshots for the past 4 weeks Keep monthly snapshots for the last 24 months


10

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


9

Is it a Launchpad project? (If you already know that it is a Launchpad project, you can skip this.) Not all projects found on Launchpad are actually hosted and developed there - some are mirrors of code hosted elsewhere (GitHub/Gitorious/etc), others come from Debian. These original sources are known as "upstream" projects, and it is usually best to submit ...


9

gitosis is no longer actively maintained. You should migrate to gitolite. There's a pretty detailed migration guide available.


9

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 ...


8

I used gitg for a while before going back to CLI only. For entertainment value, there's gource, which can turn your git history into an animation :)


8

To install gitorious the latest one from git, follow these steps First, lets go root by using sudo su [sudo] password for <username>: Installing packages When installing all these packages, you will be asked for a MySQL root password, which you should remember, because you will need it later on. aptitude install \ build-essential zlib1g-dev ...


8

Prefix the command with sudo. This gives you Administrative permissions for one command (runs it as the root user). You will be prompted for your user password. Run: sudo apt-get install git More information on sudo here Note: You may also temporarily log in as root by typing sudo su UPDATE Since the OP posted new information with a different error: ...


8

emacs has inbuilt support for git. If you are using old version of emacs (say 22.1) you might want to install 'magit' plugin. I like using magit in any version since it is way better than the generic inbuilt. here are few key bindings generate (got by pressing C-x v C-h in a git repo dir) Global Bindings Starting With C-x v: key binding ...



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