Questions tagged [git]

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

Git is a free and open source, distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

Every Git clone is a full-fledged repository with complete history and full revision tracking capabilities, not dependent on network access or a central server. Branching and merging are fast and easy to do.

More information can be found at http://git-scm.com/

814 questions
243
votes
15 answers

How do I show the git branch with colours in Bash prompt?

I am using this guide to show the branch name in gnome terminal (Ubuntu 15.10) when working in a git repository. Based on the above I now have the below in my ~/.bashrc file: # uncomment for a colored prompt, if the terminal has the capability;…
u123
  • 2,872
  • 7
  • 19
  • 26
225
votes
13 answers

Is there a GUI client for Git?

I am using git for version control of various projects. Is there GUI software for navigating through commits and branches of a project and for retrieving versions in git projects?
Matoeil
  • 2,437
  • 2
  • 14
  • 9
201
votes
5 answers

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 problems connecting over HTTP. So, I'm assuming it is…
IQAndreas
  • 3,108
  • 3
  • 26
  • 35
177
votes
11 answers

Enter SSH passphrase once

Before upgrade When I was running git clone git@... (using ssh) once per computer restart a window dialog appeared containing a textbox for inserting my SSH passphrase and confirmed with OK. Then the passphrase was no longer required until the next…
Ionică Bizău
  • 9,373
  • 22
  • 82
  • 126
142
votes
4 answers

How do I install the latest version of Git with apt?

I read about a security flaw in Git, which was fixed in version 2.2.1. I currently have Git 2.1.0 on my system (Ubuntu 14.10), and tried to reinstall it with apt. However, apt told me that I currently have the latest version. The Git website does…
190n
  • 1,559
  • 2
  • 11
  • 6
109
votes
8 answers

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 referred to this article and have done the following commands but without any result: git config --global…
gotqn
  • 2,047
  • 7
  • 30
  • 36
91
votes
4 answers

WSL Ubuntu Distro | How to solve `Operation not permitted` on cloning repository

I am running Ubuntu 18.04, as a Subsystem for Windows. I have done this in mutliple PCs and never had this problem. I try to to git clone , and I get this: Cloning into ''... error: chmod on…
Dimitris Efst
  • 1,013
  • 1
  • 8
  • 9
75
votes
3 answers

How to remove offending key in git when you try to push your changes?

I've done tons of search and tested different solutions, but gain no success! When I want to push my codes, I receive the following error: Warning: the ECDSA host key for 'git.mywebsite.ir' differs from the key for the IP address…
Alireza
  • 1,243
  • 3
  • 14
  • 26
71
votes
4 answers

What is the correct way to use git with gnome-keyring and http(s) repos?

Currently, whenever I git pull or git push to a http(s) repository, I get the following: $ git pull Username for 'https://gitrepos.reposdomain.com': me@mydomain.com Password for 'https://me@mydomain.com@gitrepos.reposdomain.com': This is ok for…
tudor -Reinstate Monica-
  • 7,098
  • 7
  • 34
  • 63
68
votes
3 answers

"error: gnutls_handshake() failed" 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 request failed I think that maybe some packages…
Nyambaa
  • 1,771
  • 1
  • 12
  • 9
67
votes
1 answer

What are the differences between the git and git-core packages?

Why there is a git package and a git-core package? Is there any difference?
c.sokun
  • 852
  • 1
  • 7
  • 8
65
votes
4 answers

Nautilus Git integration

Is there any equivalent to TortoiseSVN but for Ubuntu / Git? I'd like to integrate Git commands to Nautilus.
Olivier Lalonde
  • 57,431
  • 62
  • 125
  • 146
63
votes
3 answers

How to start git-gui?

I've installed git-gui tool via sudo apt-get install git-gui. But how do I start it? Trying with search or git-gui command did not find and UI tool for Git.
ubuntico
  • 2,782
  • 8
  • 37
  • 63
60
votes
2 answers

Upgrade Git version on Ubuntu 14.04

Can please somebody tell me what is wrong with this? I run $ sudo apt-get purge git; sudo apt-get autoremove; sudo apt-get install git Reading package lists... Done Building dependency tree Reading state information... Done The following packages…
Fernando Montoya
  • 703
  • 1
  • 5
  • 6
57
votes
8 answers

Setting up a git server

I've recently set up ubuntu-server on Amazon EC2. I would like to use it as my git server, so I could store my repos there. So, where can I find some detailed instructions of how to setup git on ubuntu server? All these SSH keys and stuff like…
Praweł
  • 6,428
  • 5
  • 35
  • 51
1
2 3
54 55