Git is an open source distributed version control system originally designed and written by Linus Torvalds. It is generally used to keep track of source code for software projects. As a DVCS, Git provides powerful help with branching, merging, and distributed development.

learn more… | top users | synonyms

0
votes
1answer
86 views

How to switch git user at terminal?

I am trying to push a project to a remote repository from the command line. From inside my local directory, I hit: $ git push and obtain the following error: remote: Permission to ...
3
votes
1answer
110 views

Git can't invoke gpg-agent to sign commits

I have Git 2.8.1 running in Ubuntu 15.10, and I've set it up to GPG sign all of my commits using my keybase key. It used to work well. At one point, I'm not sure what caused it, I started getting ...
0
votes
1answer
12 views

Show git diff with GITG on Fedora

I am using this tool https://wiki.gnome.org/Apps/Gitg/ as a git GUI. In Ubuntu when I open the application inside a git project is shows the unstaged/unadded files in the top left and I can easily ...
0
votes
0answers
11 views

Limit POST method of Apache by location

I have tried to set the settings in Apache for limiting the POST method according to location as below <Location /Project/ModuleA> AuthType Basic AuthName "GIT Repository" AuthUserFile ...
0
votes
1answer
36 views

How can I add git.exe to Visual Studios command line path?

I've just set up a new computer. When I installed Visual Studio I didn't install Git because I don't want to use it from within VS. Instead I installed Git for Windows. However, a script we use to ...
1
vote
0answers
24 views

Git inside git: is this a solution?

Consider the following directory structure: ~ | ---~/everything | ---.gitignore | ---.git/ | ---code/ | ---project1/ ...
1
vote
0answers
18 views

GitHub error on new repository

I am using Github for the first time in android studio. I shared the project on github using import into version control but I am unable to see my files on the repository created. Please help Android ...
1
vote
1answer
25 views

git pull -u without ref name works only with remotes other than origin

When checking out a new branch (git checkout -b $BRANCH), I often want to push it to a specific remote using the same branch name. I have two remotes, one named “origin” and one named “mine”. When I ...
0
votes
1answer
21 views

ssh authentication works, but git doesn't

I am using cygwin on Windows 10. When using ssh user@server.com ssh correctly loads my id_rsa, asks me for the passphrase and then authenticates me on the server. However, when I try to git push ...
0
votes
0answers
24 views

Setting up authentication and authorization for Git on Windows

We have simply installed the Git for Windows on our Windows server and also installed Apache 2.4 for Windows. Say we located our Git Repository at D:/GitRepos folder. And the project hierarchy as ...
0
votes
1answer
46 views

Git GUI on Windows not seeing .git folder from Samba share

THE SCENARIO I am using Vagrant,Windows environment and running Ubuntu inside the virtual box for my development work. I have setup an instance of Samba server and I run the I access the virtual ...
1
vote
3answers
97 views

How to add GIT and GITHUB as safe applications to Bit Defender

I use BIT DEFENDER internet security 2016 When I'm trying to commit/push/pull/fetch/other I get told Bit Defender has blocked it. I need to be able to mark GIT as safe (to white list it) Searching ...
0
votes
1answer
8 views

What is the format of git p4.largeFileExtensions for multiple extensions?

What is the correct format for this config? My team is transitioning from P4 to git with LFS and I want to maintain commit history when we do so, so preconfiguring the extensions prior to checking ...
0
votes
1answer
26 views

Launch ConEmu with Git Bash as default, when running cmd.exe

Somehow I wasn't logged in to my account, so I have to repost my question. Sorry about that. What I currently have: When I open ConEmu.exe, it opens Git Bash When I run cmd.exe, it runs ConEmu but ...
0
votes
0answers
25 views

Launch ConEmu with Git Bash as default, when using running cmd.exe

I currently have ConEmu launching when I run cmd.exe, which is great. But it is using the Windows command prompt when doing so. If I run ConEmu itself, it starts off with Git Bash (like I intended) ...
0
votes
0answers
9 views

How to make ConEmu execute .sh in the same window with Git for Windows?

I'm using ConEmu on Windows with Git for Windows installed. When I try to execute an .sh script, the software starts an instance of Windows' default console and executes the script there. How can I ...
0
votes
1answer
184 views

OSX 10.11 Bad SSH2 KexAlgorithms '+diffie-hellman-group1-sha1'

I have updated my /etc/ssh/sshd_config file based on the answers provided here - OSX 10.11 enable ssh diffie-hellman-group1-sha1 ...
1
vote
1answer
102 views

Git clone “checking connectivity” - what is it?

When doing a git clone of a repo over SSH or HTTP, you get output that looks something like this: Cloning into 'some_directory'... remote: Counting objects: 7, done. remote: Compressing objects: 100% ...
0
votes
1answer
57 views

Using windows Git Bash in MobaXterm

I have custom macros etc in my mobaxterm, but I have worked for a half a year on a remote linux machines, now I have my code on my local PC and I use git bash. Can I use it through MobaXterm?
1
vote
0answers
57 views

502 Proxy error when connecting a GIT repo with Openproject

I've recently installed Openproject in a Linux box (Ubuntu 14.04) and I wanted to link a Project to an already existing GIT (bare) repository. To do this I've followed the configuration instructions: ...
0
votes
0answers
37 views

Why can't I override mkdir with Git for Windows's version?

I've installed Git for Windows with the "overwrite native commands" option checked. I've checked my PATH: C:\Users\Domenic>echo %PATH% C:\Program Files\Git\usr\bin;C:\Program ...
0
votes
0answers
37 views

Use PuTTY with Git for Windows in cmd

I am using git in cmd. I want it to use PuTTY for SSH connections but it uses OpenSSH instead. I set the GIT_SSH variable to plink.exe. I tried reinstalling Git and selecting plink during ...
0
votes
0answers
24 views

Keep track of linux terminal commands in git

Is there a way we can keep track of commands executed in linux terminal in git? I would like to commit each command entered.
2
votes
0answers
306 views

SSL error when connecting to git from Mac OS X 10.11.3 (El Capitan)

When I try to clone / pull / fetch from a git repository via https from a Mac System I keep getting an error: error: RPC failed; result=56, HTTP code = 200 fatal: The remote end hung up unexpectedly ...
1
vote
1answer
144 views

Git GUI on Windows not working with self-signed SSL certificates - gives errors (fatal: SSL certificate)

I'm using git GUI on Windows 7. I need to clone the repository and simply want to just use it. However, when cloning, pulling, pushing to/from repo with self-signed certificate, I'm getting this ...
4
votes
0answers
24 views

Why symlinks can slowdown git?

I keep my current working project on SSD drive but git folder inside is symlinked from another (encrypted) disk with mklink /J /D. SmartGit warned me that using symlinked git folder may have a ...
1
vote
0answers
93 views

“git mv *” returns “bad source” in Powershell

When inside a git repository in Powershell or CMD, issuing git mv * whatever will return fatal: bad source, source=*, destination=whatever This works fine when using MSYS (Git Bash).
0
votes
0answers
21 views

What is a good directory structure for projects with versioned code but huge data files

We work with genomics and imaging data. Our data are large, but our code is small. We sometimes work on code collaboratively, and also wish to share it with the researchers we do analysis for. We are ...
0
votes
0answers
38 views

“fork: Resource temporarily unavailable” from git in MacOS El Capitan

Sometimes when I am using Git and cannot do a sudo command, it reports fork: Resource temporarily unavailable What does this mean, and what should I do about it?
0
votes
0answers
5 views

Apply patch transparent on local branch

I'm working on a master branch regulary, pushing to and rebasing from origin/master The issue I have is that I often apply a local patch to the branch for adding some developer tools that is only ...
1
vote
0answers
54 views

Jenkins - ssh credentials and editing credentials issues

Can't connect to bitbucket through ssh in Jenkins I can get it to work using https and providing my bitbucket account password, butI can't get it to work using an ssh key and ssh passphrase. I have ...
0
votes
0answers
7 views

Bash autocompletion for git checkout when file is missing

Let's say you have a git directory with: foo/bar.txt foo/qux.txt and you rm foo/bar.txt. Is there any way to get bash+git to autocomplete when you type git checkout -- foo/b<TAB>?
0
votes
0answers
33 views

How to configure development environment

I am looking for feedback on setting up and configuring my development environement. Below is my current hardware and software: My local hardware and software: PC laptop Eclipse IDE (Plugins listed ...
0
votes
1answer
50 views

git commit hash in zsh prompt

I'd like to see the current commit hash (just the first 8 or so characters) in my zsh prompt. I have this so far: https://github.com/calebmeyer/cpm-zsh-theme/blob/master/cpm.zsh-theme#L3 ...
0
votes
1answer
48 views

It it possible to corrupt external HDDs by cloning big git repositories?

I bought a Seagate Expansion 5TB external hard drive and I started cloning the git repositories I contributed to. There is a big git repository (~16GB, 1GB is just the .git directory): after cloning ...
0
votes
0answers
17 views

Git/GitHub - Organizing Different Server and Client Repositories for the Same Project

I would like to know if there is a better way to organize multiple repositories for the same project. For example, if there are repositories for an iOS client, web client, and API server, should be ...
0
votes
0answers
15 views

my git details & connecting via eclipse

I installed git on a CentOS machine. I initiated the git on the server on /var/git/.git/. My question is: how do I connect to the git via eclipse and adding files, and what should be my connection ...
0
votes
0answers
89 views

jenkins server hosted on local machine - interfacing with bitbucket issues

I have been unable to get bitbucket webhooks to trigger a build, or for that matter, to get a build to successfully connect to my remote bitbucket repositories. When I set the git path under global ...
0
votes
0answers
25 views

Symantec cloud antivirus now blocks Git, SSH, Cygwin

I run Symantec Cloud Antivirus on Windows. Recently, after an upgrade, it started blocking SSH, Git, Cygwin. In particular, it deletes git, says it fails a SONAR Heuristic, and doesn't seem to give ...
0
votes
0answers
94 views

Proxy refuses the CONNECT method

I am trying to git clone from my work. The squid proxy is very restrictive and only accept HTTP(s) queries using a particular user-agent. This can be tricked with git using the http/user-agent ...
1
vote
1answer
13 views

git sparseCheckout repo pushes full repo to remote

I found a git repo that has something I need, but only part of it. So I pulled its content with sparseCheckout=true and set the sparse-checkout file. After pull, the local repo looks good. But when I ...
1
vote
1answer
62 views

SSH to github using CygWin doesn't work

I followed this article on github on how to generate ssh key but it keeps asking for a passphrase, but I haven't set up one! Even if I set up a passphrase it ignores it and asks for it again. It ...
0
votes
2answers
48 views

Git ignore patterns: ignore a specific directory

I have a git repository, with ignored paths specified in .git/info/exclude as they are specific to this clone. I wish to exclude a directory /foo (and everything below it) which is located at the ...
0
votes
0answers
21 views

git hub for version control for an entire directory

Code at bottom I am using a private repo on git hub as a version control between me and partner and I am having some difficulties in my approach. I have wrote a few bash scripts as a way of ...
1
vote
1answer
18 views

Bash alias/function to precede every “git diff” with “clear”

Every time I do git diff I'd like my bash to do clear & git diff instead. I tried to tweak an answer at "Bash: Spaces in alias name" like this: git() { if [[ $@ == "diff" ]]; then ...
0
votes
0answers
21 views

Error Git authentication in WebStorm

In WebStorm window for entering the password appears when you try to make a Push and Pull from Git: Once I enter the correct password - you receive an authorization error message. I use Putty Key. ...
2
votes
0answers
169 views

Visual Studio Code Git Issue

I'm running version 0.10.8 of Visual Studio Code in Xubuntu 14.04 x64, but used 0.8.4 before and didn't have this issue When I try to push a commit to Bitbucket via VSCode, I get the following ...
0
votes
1answer
75 views

How do I set up rsync in my environment (windows client to apache server with Wordpress installation)

I read the word rsync for the first time today after looking here on sueperuser for a solution to only transfer files which have been changed. I am working on a website with this environment: ...
1
vote
2answers
55 views

Is it a good idea to use git for configuration file version controlling?

I use Gentoo Linux and it has rather complex configuration. My question is it wise to use git for version controlling my config files? I have some git repos in my home, my guess if I put /home/** to ...
0
votes
0answers
33 views

Is it possible to create a git repository in home network for cross platform?

At home I have a Mac Mini that handels backups and works as NAS. Normal Mac users can connect to the server to upload & download files or stream media from it using plex. Right now I have a ...