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

learn more… | top users | synonyms

2
votes
2answers
918 views

Easy to use Git server management

Regarding source controls I have experience with TFS (Team Foundation Server) and I'm working with GitHub for some of my open source projects. Now I want to setup an authenticated Git server on my own ...
2
votes
1answer
130 views

How can I see a representation of a non-fast-forward Git update?

I am trying to git push origin master and getting the error ! [rejected] master -> master (non-fast-forward). I understand what the error means. (1) However, I want to decide whether or not ...
8
votes
2answers
357 views

How do I submit a patch to a Launchpad project?

With a Git/GitHub background and knowing very little about Bazaar VCS, I would like to occasionally report a bug to projects hosted on Launchpad, and even send a patch. I'd like to do it in a ...
1
vote
2answers
861 views

How can I change git history (git rebase -i) after I did a git push

How can I do a git rebase -i after I do a git push? I read that I can't edit history after I do git push.
3
votes
1answer
72 views

Juju wordpress charm doesn't update from git

I have set the wp-config string to my git repo. It gets everything fine but the charm is not picking up changes. I make changes to my local copy of the wp-content then push it to my git remote repo ...
0
votes
1answer
343 views

Troubles with permissions of a new user

I want to create a new user and give him possibility to use git. So, I've installed git: sudo apt-get install git After that I've created a user: sudo useradd -d /home/developer -s /bin/bash -g ...
39
votes
4answers
36k views

Enter SSH passphrase once

Before upgrade When I was running git clone git@... (using ssh) once per computer restart a window dialog was appearning that was containing a textbox where I was intersting my ssh passphrase and ...
1
vote
1answer
192 views

How do I keep my WordPress content in a private git repository?

I have got my wordpress up and running. Now I want the wp-content to sync with my private git. How do I modify the following code to include username and password to my private git? juju set ...
18
votes
3answers
2k views

Using Git as off-line alternative for Dropbox

I am working with lots of text files daily and I use Dropbox as a way to restore earlier versions of files in case something goes wrong. I am looking for simple way to suplement/replace Dropbox in ...
0
votes
0answers
19 views

Could not get lock /var/lib/dpkg/lock [duplicate]

When I tried to set up git in my computer I encountered the following error: E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the ...
1
vote
2answers
9k views

How to complete uninstall git from Ubuntu Desktop 12.04?

About 6 months ago I tried installing git and ended up botching the install/configuration. I was then called away to another project and no longer needed to use git. I'm back to the project now, and ...
3
votes
2answers
177 views

How can I compile a .deb file for network-manager's git

I need to install a version of network-manager that has the enhanced nmcli (allowing creation of new connections from cli only), and I wasn't able to find a PPA with a recent enough version. How can I ...
4
votes
1answer
3k views

How to build and install latest SimpleScreenRecorder from git?

I want to install SimpleScreenRecorder (SSR) from git as recommended by the developer. The binary version crashes and it is possible that the git version already has the fixes for my crash problem. ...
5
votes
2answers
6k views

How do I prevent git from requiring sudo on every git command

I created a directory /var/www to store my web apps clone in. When I initially cloned the app from github it required me to use sudo and every time I do a git pull it's requiring sudo. I'm running ...
1
vote
2answers
739 views

How to invoke Git GUI?

I installed Git (the one that says "Fast, scalable, distributed revision control system") from Ubuntu software center. I also choose the optional packs (git-gui and gitk). All of these steps got ...
14
votes
5answers
13k views

Really verbose way to test Git connection over SSH?

When using GIT, I have problems with using GIT over SSH, and since it works just fine both from work, and at home with a different modem, it's obviously my home modem that is acting up. I have no ...
3
votes
1answer
568 views

How to make etckeeper use the right value for git author & email with apt-get

I'm using git with etckeeper. When I use sudo git to commit changes in /etc/, GIT_AUTHOR_NAME & GIT_AUTHOR_EMAIL from my env are used (as intended). When I use sudo apt-get and changes are ...
3
votes
3answers
6k views

Git cloning error

I've just started to learn git and I tried to run this command : git clone git://github.com/schacon/ticgit.git It did not work and I got this error message ...
0
votes
2answers
4k views

How to install Git in Lubuntu (APT is “Unable to locate package libcur14-gnutls-dev”)?

I've tried to install git to my laptop which runs lubuntu.I followed the pattern on git website and it says : To install Git, you need to have the following libraries that Git depends on: curl, ...
10
votes
1answer
3k views

Install a more recent version of git on a LTS

I can't upgrade my lucid lynx 10.04 LTS because newer distributions of ubuntu don't work on that computer. I need to install a git version 1.7.10 for credential management. Git version is 1.7.0.4 on ...
0
votes
1answer
281 views

How to compile git for solaris under ubuntu? (cross compile git)

I'm renting webspace with SSH access and I want to host a git repository on it. I can log in using SSH and put websites up. However, git is not installed on the server. Unfortunately, GCC is also not ...
1
vote
1answer
298 views

running git status resets permissions on index file

Trying to sort out if this is a git bug or something with Ubuntu. Basically about half the time an interaction with the git index file results in the permissions on that file being changed to the ...
0
votes
1answer
2k views

fatal: read error: Connection reset by peer

vijay13@ubuntu:~$ git clone git://anongit.kde.org/plasma-mediacenter Cloning into 'plasma-mediacenter'... fatal: read error: Connection reset by peer Can someone please help me to get rid of above ...
0
votes
1answer
51 views

problems in git upgrade

when I run upgrade in my ubuntu 10.04,the result is ~$ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done The following packages have ...
4
votes
2answers
2k views

Is there a git indicator to get notification on commit, pull?

Is there an indicator for watching a git repository and get notification on commit, push, ... ? Searching "indicator ubuntu git watch repository" send me a lot of indicator hosted on github... can't ...
4
votes
2answers
3k views

Change git's language to English without changing the locale

My locale is German. LANG=de_DE.UTF-8. I would like to keep it. Is it possible to change git's language to English without changing the locale?
0
votes
1answer
306 views

effects of initializing git repository on linux root directory 3:)

I am running beaglebone black on ubuntu installed on sd card. i am learning to program the device in trial and error method by installing various packages (just like CERN guys study sub atomic ...
5
votes
1answer
3k views

How to fix git autocomplete in Ubuntu 13.04

In previous version of Ubuntu 12.10 when using git from command line autocomplete of commands, branches, tags... worked. After installing fresh Ubuntu 13.04 and git it does not work. What to set up to ...
0
votes
1answer
718 views

Fatal error in installing Git

I am trying to install Git for Ubuntu 12.04, but running the git commands is giving me the following error message: Cloning into 'neha'... fatal: bad config file line 1 in /root/.gitconfig Using ...
4
votes
1answer
3k views

Hourly GIT Push

Is it possible for me to automate a Git push every hour via a batch script. I would typically type in this: git add * git commit -m "latest update" git push ...
1
vote
0answers
79 views

Why can not use git commit -m?

I tried to commit change and add comment: $ git commit -am "update Calculator clear and reset" --amend commit failed: (use 'git commit' or 'git commit -a' to commit changes) (can not ...
1
vote
1answer
305 views

Shell script now working on post/get request

I have a simple script in php to fetch files from my github repository <?php echo shell_exec('git pull'); ?> When I ssh into my server and run this script like this: php github.php I see ...
2
votes
2answers
2k views

What is managing SSH keys in Unity, and how do I reset / disable / configure it?

I'm using Ubuntu 13.04, and recently changed my ssh keys. For some reason Unity, or something in Gnome (seahorse?) doesn't seem to be recognizing it. The keys were generated on a different machine, ...
2
votes
3answers
952 views

migrate git repositories

I have an old laptop IBM Z61t as my git server. I want to upgrade my laptop server to a desktop server(the laptop server will not use anymore). how could I setup and migrate the git repositories to ...
0
votes
1answer
1k views

git get ubuntu kernel source through http proxy

I try to run below command to get kernel source code in ubuntu 12.04. git clone git://kernel.ubuntu.com/ubuntu/ubuntu-precise.git As my machine is in a private network, I need setup a http proxy ...
3
votes
2answers
1k views

How can I install git-annex assistant

I install recently git annex in ubuntu 12.10 using APT. However, the package seems to be built without the assistant support. Is there a PPA or another way of installing it ? I'd rather avoid ...
4
votes
2answers
6k views

NVM Command Not Found Issue [duplicate]

Attempted to add to this question: NVM Command Not Found, however wasn't able to. After installing nvm im having the same issue, here is the log from terminal: Michael-iMac:~ michaels_imac$ curl ...
17
votes
2answers
13k views

upgrade git on Ubuntu 10.04 (Lucid Lynx)

I currently have Git 1.7.1.0 installed but need to upgrade to 1.7.1.1 (at least). I tried running: sudo apt-get update sudo apt-get upgrade and also tried sudo apt-get install git-core but each ...
7
votes
2answers
716 views

Is there an application to manage config files in the /etc folder with version control software?

I want make version control for config files in Ubuntu server. But I found out it's not easy for simply "git" whole etc folder, because so many file doesn't need to track and some time system will ...
0
votes
1answer
1k views

I downloaded ruby on rails, but it says it isn't installed.

I downloaded ruby on rails on ubuntu 12.10 through this tutorial http://technical-feeds.blogspot.ca/2013/02/how-to-install-ubuntu-and-ruby-on-rails.html. I did everything and it worked fine. I ...
1
vote
1answer
1k views

Git push not working in Ubuntu

I don't know what I'm doing wrong but I cannot make git push work in Ubuntu (12.10). I already tried from command line, NetBeans IDE and RabbitVCS. This is a list with the errors I get: netbeans: ...
0
votes
1answer
259 views

How do I prevent these errors from showing up with GNOME keyring?

Background Trying to update a repository, after a fresh install of Xubuntu 12.04, using: git pull Problem The following message appeared: WARNING: gnome-keyring:: couldn't connect to: ...
3
votes
1answer
245 views

How can I merge unversioned MonoDevelop code back into a git repository?

My group partner and I are creating a MySQL database application with a GTK# frontend. Our application consists of a main window with information displayed in multiple tabs. My partner started most of ...
12
votes
1answer
11k views

How to use multiple ssh keys with different accounts and hosts

i have multiple ssh keys and i have also have account on bitbucket and github. how when ever i use pull it gives me error :/var/www/proj$ git pull origin master conq: repository access denied. ...
5
votes
3answers
3k views

How can I run SSH as a different user on the same Ubuntu installation?

I am creating a script which runs a series of command that would download a website to a machine and sets up everything. So most of the commands require root access. For example adding a vhost in ...
2
votes
2answers
4k views

Using authorized_keys with git

I have transfered my ssh key from my root to my user account by ssh-copy-id command so now I have these files in my .ssh folder user@user-php:~/.ssh$ ls authorized_keys config id_rsa id_rsa.pub ...
2
votes
1answer
492 views

How can I create popup windows?

I have a small script run by cronjobs to synchronize a git repository every 2 hours. The git will be pushed to the server with a constant message. How can I have a popup windows which ask the message ...
2
votes
1answer
461 views

Clone GIT from SAMBA network share

Has anybody successfully cloned GIT repository to Ubuntu from a SAMBA network share? I have access over file manager and can ls over command line, but cannot clone Also, in git cola, qgit and gitg I ...
1
vote
1answer
599 views

Couldn't find package git

So I am trying to install git with the following command as listed on the git Linux download page: sudo apt-get install git After that command I get the following error: Reading package lists... ...
3
votes
3answers
5k views

Is there a graphical git commit application to show diffs and set a commit message?

As part of my work I regularly commit to git. I have a fabric script that does an interactive commit: git commit -a which shows me which files have changed in nano and then lets me write a commit ...