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
84 views

Trying to install GitLab on Apache on CentOS 7

Hey SuperUser community, I'm new to this forum so I'll make this quick. I'm an amateur CentOS System Administrator. I'm teaching myself as I go, but I recently hit a stumbling block. I'm trying to ...
-1
votes
1answer
22 views

Reconstructing Git Repository

Suppose I have a git repository set up on a central server and cloned it to multiple machines. Suppose also that I have made modifications to the repo on some of the machines and pushed and pulled ...
0
votes
0answers
9 views

Webfaction: how do I have my secondary user sudoing as main user in post-receive?

I am using webfaction (remember this, since I don't have access to root or standard sudo foo --bar commands to get admin rights) and have two user accounts in a server I manage for someone (one user ...
0
votes
0answers
4 views

How to show result of git reflog in the same window as the other commands?

When I type git reflog, the result is shown in another window like with man command (I don't really know how to call it). To quit the window you must use q key. How to show the result in the same ...
0
votes
0answers
20 views

Why does “View History” not work for sub module files in Visual Studio 2015?

I use Visual Studio 2015 Update 2 on a Git repository. Everything works fine, including the Commit/Branch features that were improved in Update 2. However, when I right-click on any file in a sub ...
-1
votes
2answers
25 views

Create Github repository from API

Please provide working code that creates a Github repository using the API. I have tried different versions of the following: curl 'https://api.github.com/users/repos?client_id= myusername&...
0
votes
0answers
8 views

Handle two variants with Git

I have a repository that holds two variants of the same software in two branches. Both branches are merged into each other quite often to exchange their fixes and new features. However, there is a ...
2
votes
1answer
163 views

git: “pack has bad object” when pushing to remote

I have a bare git repository on my Raspberry Pi which only I use. When pushing to it today, I got this error message: Counting objects: 460, done. Delta compression using up to 8 threads. Compressing ...
1
vote
0answers
30 views

way to automate git repositories cloning

I have to clone several repositories on the VM-s and then building software on them. I have pretty nice build script but there is one issue. Before build, several repos should be cloned, and after ...
3
votes
0answers
12 views

Wrap git's shell script to add bashrc or equivalent start-up commands

My server has a git user that handles all git access. You can't log in with it. It's only for git access. That works because GIT comes with a handly shell /usr/bin/git-shell. Login feedback: fatal: ...
3
votes
1answer
18 views

Why are key agents sometimes preferred over configuration files?

Some programs seem to prefer to use an SSH key agent, rather than specifying the key file in some configuration file somewhere. Examples: GitHub's instructions for using SSH SourceTree's method ...
0
votes
0answers
42 views

how to create android source mirror?

I want create mirror copy of android source. From where other developer of my team can download locally from that mirror server code using SSH from server. I use following command for create mirror ...
1
vote
1answer
102 views

How to get bash-style autocompletion in zsh, (for git command)

I switched to zsh and find it better than bash, but I have a problem with oh-my-zsh's (hereafter "OMZ") autocomplete feature. When I type git chec, OMZ completes that to git check; in bash it gets ...
0
votes
0answers
12 views

How to cd into my local git repo from an AppleScript?

I am running a Mac using OSX Yosemite v10.10.5. I want to push my local git repo to my remote using AppleScript. So the git code would be: shell git init git add README.md git commit -m "first ...
0
votes
0answers
12 views

Tuleap: The repository is in queue for creation (codendiadm is in gitolite groups)

I have the repositories with this message: The repository is in queue for creation. Please check back here in a few minutes codendiadm is in gitolite group Anybody have a idea about this. Thanks in ...
0
votes
3answers
24 views

Git: list all files in another branch that are not in the current branch?

git diff <other branch> <this branch> will show me all differences, but files that don't exist in the current branch have no special indicator in that list.
0
votes
0answers
29 views

Atom on Mac: Close window to terminate process

I use Atom as my git commit/rebase message editor. And I'm on Mac. I know that atom -w can be used to keep git waiting until the Atom process is terminated. However, my problem is, often time, I have ...
0
votes
0answers
20 views

Error create GIT repository

When I create GIT repository, in the system event of git queue, say ERROR with this message Command execution failure: /opt/rh/git19/root/usr/bin/git --work-tree='/var/lib/tuleap/gitolite/admin' --...
0
votes
0answers
13 views

How to get git > v.1.8.2 on RHEL 6?

I've just realized that the version of git that ships with RHEL6 is 6 years old. That would be version 1.7.1. This does not support a feature that was added in git v.1.8.2 (which itself is 3-1/2 ...
0
votes
1answer
23 views

Syncing 10 remote repositories to one local directory with 10 projects in it

I have a local directory with ten projects in it. I want to sync all ten projects with ten remote github repositories. How would I accomplish this using git more efficiently than manually pushing all ...
2
votes
0answers
51 views

Git - Git Pull Not Working In Cygwin

Just recently, git in Cygwin has not been behaving correctly. When I try to run a command like git pull it does not show anything about the pull. The git status command works just fine and shows the ...
0
votes
1answer
149 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 username1/repo....
3
votes
1answer
135 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
19 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
13 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
59 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
29 views

Git inside git: is this a solution?

Consider the following directory structure: ~ | ---~/everything | ---.gitignore | ---.git/ | ---code/ | ---project1/ ...
1
vote
0answers
19 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
32 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
26 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 ssh:...
0
votes
0answers
31 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
55 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
105 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
10 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
35 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
29 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
11 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
384 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 http://stackoverflow.com/questions/26424621/algorithm-negotiation-fail-...
1
vote
1answer
164 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
128 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
78 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
50 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 Files\Git\cmd;C:\...
0
votes
0answers
40 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 installation....
0
votes
0answers
25 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
470 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
176 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
25 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
134 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
53 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
6 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 ...