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
0answers
18 views

MINGW64 (downloaded from www.git-scm.com) - How can I set it to use my system version of vim, rather than the build in version?

I'm trying to set up vim as a GO IDE. I also use the version of MINGW64 that git ships with as my terminal. Everything works as expected. I can run gvim from the terminal no problem, but when I try ...
0
votes
0answers
11 views

Getting my private key from my OpenShift account

I am a relatively new user to OpenShift. I have some experience with git and I was using it perfectly on my old Mac. The Mac broke down and had to recycle the parts to a store that recycles computer ...
0
votes
1answer
32 views

how to integrate redmine with git, to close issues?

I had install Bitnami Redmine on my Windows 7 I want to close the issue when I make a commit. it should update the issue status in redmine.
0
votes
1answer
73 views

How to remove all the apt-get packages and updates since installation in Ubuntu 14.04?

Iam working on a new project and i some what messed things up in the operating system and i unnecessarily installed and updates some packages.So i cant figure out which packages i installed,so i have ...
1
vote
1answer
23 views

What is the git command xcode runs when clicking discard all changes?

noob here, I would like to understand what git command xcode actually runs when I click "Discard all changes" from the Source Control dropdown menu. Thank you!
1
vote
0answers
116 views

Vim Plugins within Git Bash for Windows

In an effort to improve the terminal usability in Windows I have setup ConEmu to use Git Bash for Windows as the default terminal. I use Vim Plug to manage my Vim Plugins, and have already set up the ...
0
votes
0answers
30 views

git under Kerberos: 'fatal: error when closing sha1 file: Connection timed out'

Trying to update a git repo on a remote server with kerberos authentication. running me@remote:/path/to/repo/$ git fetch local:/path/to/repo yields the error fatal: error when closing sha1 file: ...
0
votes
0answers
21 views

git deployment to windows machine

I am developing scripts for stimulus presentation in an experiment in cognitive neuroscience (in a proprietary language). 'Deploying' these scripts simply means copying them to the desktop of a ...
0
votes
0answers
11 views

Git pull fails while push and fetch are working

Ok, this is irritating because I thought that if push and fetch are working, so should pull as it is based on the same git configuration line (section [remote "origin"] -> URL). Origin is a server ...
0
votes
0answers
36 views

Deleted a Windows folder using Linux command rmdir -rf foldername

I have a folder on a Windows 7 machine with contents in it and decided to delete it using Git Bash, namely with the command rmdir -rf foldername. According to this manual http://www.computerhope.com/...
1
vote
0answers
26 views

How to display git ls-file result in a tree-like format?

Let's say I have a git repo which output with tree is: . ...
0
votes
0answers
36 views

issue launching atom via git bash shell

I am trying to launch atom from the git bash command line. Sometimes atom has some sort of an auto-update feature where it upgrades itself. And when that happens, you may notice something on the ...
0
votes
1answer
53 views

Can not find .gitconfig in user directory

I opened the CMD and go to my user folder. Inside is the .gitconfig file. When I do git config --global http.proxy http://127.0.0.1:3128 it says that the file/folder .gitconfig is not found! Why ...
0
votes
0answers
54 views

Could not read from remote repository

I am facing an issue while configuring the git lab. I have two systems called A and B (both are Linux). I have configured git lab on machine A and I can access from machine B via the browser. I can ...
0
votes
1answer
134 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
10 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
27 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
28 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
224 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
37 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
14 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
50 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
119 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
15 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
17 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
25 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
33 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
22 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
53 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
249 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
153 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
23 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
16 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
75 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
32 views

Git inside git: is this a solution?

Consider the following directory structure: ~ | ---~/everything | ---.gitignore | ---.git/ | ---code/ | ---project1/ ...
1
vote
0answers
20 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
39 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
35 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
38 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
65 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
109 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 ...
1
vote
1answer
14 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
38 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
32 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) ...