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

Git Bash history commands not saving when closed

Before when I installed Windows 10 when I press the arrow down or up button inside Git Bash I get my previous entered commands. But now when I have closed Git Bash i lose all the commands I have ever ...
0
votes
0answers
390 views

errno 14 could not open/read file ///repodata/repomd.xml

I have a Yum repository configured on my RHEL 6.4. By using the RHEL Custom Repository. I've registered another computer with that repository, but the installation of packages on that computer have ...
2
votes
2answers
71 views

Block SSH access from outside LAN

I have an Ubuntu server machine that hosts Redmine and git repositories in a DMZ. The only users who have an SSH access are the administrators. Users from outside need to have access to Git and the ...
1
vote
1answer
86 views

gitk not working inside of tmux

I have a weird issue where gitk does not run when I use it inside of a tmux session. If I run gitk from tmux, I get: Error in startup script: 58:102: execution error: An error of type -10810 has ...
0
votes
0answers
235 views

Installation of Asus Xonar D2x sound card drivers on opensuse 13.2 gnome

I'm running a vmware session of opensuse 13.2 gnome on Windows 8.1, which will soon be windows 10; at least until I get this problem fixed. I've successfully install vmware-tools (the closed source ...
0
votes
0answers
15 views

Git - roll a code base all the way back to original download, and also diff against original

We've had Magento v1.4 Enterprise under source control (Git/sourceTree) since it was installed about 2 years ago. I have the following two questions: How would I, using sourceTree for Mac, a) clone ...
0
votes
1answer
90 views

Git: How to delete the remote branch?

I have a remote branch on git which I want to delete (remotes/me/ntopng). $ git branch -a * master remotes/me/ntopng remotes/origin/gh-pages remotes/origin/go remotes/origin/master But ...
0
votes
0answers
12 views

Git asks for password in cmd [duplicate]

I have tried to set up my ssh-keys on both the command prompt and git bash. What happens, is that everything works fine till I do a git <something>, and it asks for my password. Enter ...
0
votes
0answers
27 views

Difference betwen Core.git & git-core

Ihave a new debian os server and has been installed with libpng,poco and libcap-progs. for a libreoffice application, readme file says to show path to core.git On doing a search found git-core, but ...
0
votes
1answer
83 views

Diff to HEAD with PHP Storm?

How can you see a Git diff to HEAD with PHP Storm? I'm trying to switch over to PHP Storm from NetBeans as I've heard that it's more powerful. But I can't see how to use the Git diff tool, which was ...
0
votes
1answer
217 views

Git Bash not recognizing SSH config file parameters

I have a hosting plan from the folks at HostGator. They allow SSH connections on port 2222. I'm using "Git Bash" on Windows to connect to HostGator via SSH. Works fine with ssh -p 2222 <hostX>. ...
1
vote
2answers
118 views

How to update git on RHEL without access to root?

I am trying to get my IDE set up at work for a project I am working on. I am coding in python and working in PyCharm because of its awesome git support. However, whenever I try to configure git on ...
3
votes
1answer
45 views

Why empty directory is not being shown in Git Bash (Linux) in this case?

I am working on a computer which has Windows 7 64-bit operating system. I have installed Git and working on Git Bash. On my D: drive I have a directory named Temp5. Inside Temp5 directory I have a ...
0
votes
1answer
29 views

Show Git author in comments while writing commit message

When I run git commit, my favourite editor starts and presents me with something like this: # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty ...
0
votes
2answers
411 views

Git For Windows Silent Install Silent Arguments

I'm aware of the basic silent install arguments like so. Git-1.9.4-preview20140611.exe /SILENT /COMPONENTS="icons,ext\reg\shellhere,assoc,assoc_sh" However I need to install git with the option ...
0
votes
0answers
62 views

Not able to download all files from nexus to git repository folder with wget

I am downloading files from the nexus repo using wget command. Using the command, I am able to download all the files in the C:/ area, but when I am using the same command inside ...
1
vote
1answer
223 views

Git commit over SSH not recognizing remote repository

I have 2 machines, client and server. I want to send git repositories from client to server, using remote push. I've run these commands in this order on the server: mkdir /mnt && cd /mnt ...
0
votes
1answer
51 views

Edit file in-place without modifying line endings

I need to modify sources under Git version control. The sources are Visual Studio project files, which makes them native Microsoft. I want to avoid whitespace issues, including line ending games. I ...
0
votes
1answer
20 views

Weird result of initiating a variable with the output of 'git describe'

For some reason this assignment: OUT=$(git describe HEAD) prints to the stdout (for example): fatal: No names found, cannot describe anything. Is this a normal behavior? Why doesn't this happen with ...
0
votes
0answers
104 views

rsync tree but ignore folders where a .git directory exists?

All I found were questions how to ignore the .git directory when using rsync - my question is a little different: I want to ignore the whole tree from the point where the .git directory exists. ./ ...
0
votes
0answers
37 views

git - filter out 'personal' files from public repository uploads

Let's say I have a repo with source that is linked to GitHub. Locally, I can manage file exclusion with .gitignore. But let's say that I have utility files, like shell scripts. For example, this ...
0
votes
1answer
26 views

“Files changed” on Github show different code in grey than currently in repository

I am looking into this commit on Github, and I am curious as to why the supposedly unchanged text in grey in the "Files changed" pane is different from the content in the branch that the commit is ...
0
votes
0answers
35 views

Git UI shell integration to show “git svn info”

I use "git svn clone" to checkout a subversion repository and manage it under git locally. Is there any easy way I could still easily find out the subversion path of the files under git management? ...
0
votes
0answers
37 views

Cannot install git-credential-winstore

I get this error pop-up when I try to install Git-Credential-Winstore on Windows 8.1 x64 Enterprise. When I click Debug, I get the following error message. An unhandled exception of type ...
0
votes
1answer
107 views

Find commit that first added a particular line of code on Github

I would like to find the commit that added the following lines of code to solver.cpp for the deep learning library caffe, which is hosted on Github. I am not a contributor or have any special ...
2
votes
0answers
111 views

How can I prevent git from using the wrong environment path?

(nodeenv)openproject@debian:~/openproject$ git checkout v4.2.0 warning: unable to access '/home/daniel/.config/git/attributes': Permission denied warning: unable to access ...
1
vote
2answers
23 views

How to read the man page for git revert?

When I do a man git revert, I get the man page for git: NAME git - the stupid content tracker SYNOPSIS git [--version] [--help] [-C <path>] [-c <name>=<value>] ...
2
votes
1answer
1k views

How to open git for windows shell inside a tab on ConsoleZ

I have used git bash 1.9.5 from https://git-scm.com/download/win (that URL starts a download) on ConsoleZ as shell and have no problem on open him inside a tab. But, with the new Git for windows ...
0
votes
3answers
31 views

Git merge, which branch merged in the other?

Lets say I have two branch like this: o---o---o---o---o master \ o---o---o feature If I run the following commands: $ git checkout master $ git merge feature what will happen? ...
0
votes
0answers
169 views

Can cygwin shell interfere with git bash when using Git Bash Here?

I've been using Cygwin terminal for a long time, and have gotten very used to its quirks and what-not. Recently I've been using the Git Bash shell in Windows 7 (64-bit). For Git command-line work, I ...
1
vote
0answers
26 views

MinGW Git Bash observable progress output inconsistency across machines

I am getting inconsistent behavior across installations of Git Bash on different Windows 7 machines. The diff in behavior is fairly minor, but I'd like to understand what could be responsible for the ...
0
votes
0answers
100 views

All js files of a parent folder gone missing on Windows 7

My folder Projects having multiple projects, is being messed by something. Tl;dr version: For some unknown reason, all of my javascript files contained in sub-directories of Projects dir, are gone. ...
0
votes
0answers
115 views

Unexpected error with git-http-backend over Nginx and fcgiwrap

Original question I'm trying to setup a git repo for remote access through HTTP. Thing is, even a simple git clone is not working. This is the error message: /var/log/nginx/error.log 2015/07/03 ...
1
vote
0answers
284 views

GIT: stuck with “fatal: pathspec … did not match any files” :-(

I'm totally newbie with GIT, but in simple cases I've been using it to controll my website and changes made on it. I've been using in my website librarry called "mpdf", which i've updated repleacing ...
0
votes
1answer
288 views

How to checkout via SSH on bitbucket

Is there some sort of trick to cloning a bitbucket project via SSH so you don't have to manually enter a password each time? I've tried following their docs and I was able to get to the point where ...
0
votes
0answers
55 views

Using diff-highlight with Git GUI

Is there a way to use diff-highlight with git gui? The extra highlighted info is invaluable when comparing lines that only changed a bit, and while using diff-highlight from the terminal (described ...
0
votes
2answers
256 views

Git push gives 403 error

I have been following the steps on Hosting a Git server under Apache on Windows and got everything working fine. I then wanted to add in a basic authentication for push requests and so made changes ...
0
votes
1answer
198 views

Git clone gives 403 error on localhost

I have been following the steps on this page: Hosting a Git server under Apache on Windows but at step 5 I run git clone http://localhost/Test.git and I get the response Cloning into Test... ...
0
votes
1answer
22 views

Update working branch with remote master

It may have been asked before, but I haven't found the exact answer. This is my graph, I'm working on demo3. I've made new commits into demo2 and finally merge them with master. How could I bring ...
1
vote
1answer
340 views

What is an open source backup app alternative to deja-dup/duplicity that gives me more flexibility on *nix? [closed]

Open source (preferably with a GUI but CLI would do too) If CLI - has good documentation and community resources. Option to have more schedule settings than just daily. (I am fine as long as it ...
0
votes
1answer
226 views

Git Installation Returns Error 404 On RHEL

I am trying to install Git in my REHL but failed. I have also clean up metadata and everything else by running sudo yum clean metadata and sudo yum clean all but still, the error persists again and ...
0
votes
1answer
2k views

'git' is not recognized as an internal or external command, operable program or batch file

I'm reciveing this error when trying to install something which uses 'git' command. I've already installed git and put the directory into my environment variable - C:\Program Files (x86)\Git\cmd I've ...
1
vote
1answer
141 views

Git gui blame from Sublime Text 3

I have tried many things, but none of them worked. Expected result: I type a shortkey, and git gui blame opens the current file at the line the pointer is on. I work on Windows 7, with Sublime 3 ...
0
votes
0answers
4 views

Zend switch to master branch gives error

So when I switch to the master branch I get this, I want to mention that the branch that I am in has no uncommitted changes Stash, reset, cancel don't work and in .gitignore I have ...
1
vote
2answers
75 views

How to load arbitrary config file via git?

I'm trying to load a config file in git, but the file is not in one of the default storage locations. I tried doing git config --file .gitconfig (when I was in the correct directory that contains the ...
1
vote
1answer
67 views

Vim prompting file has changed after git pull

My work flow involves editing many files in vim, and occasionally I will do a git pull --rebase, which may or may not actually change the files I am editing. However, after such a rebase, vim will ...
0
votes
1answer
171 views

git rebase --interactive throws an error

I'm relatively new to git. Could anyone, please, help running git rebase --interactive properly? It throws an error when I try to execute it. Note: I don't want to uninstall Xcode unless it's ...
1
vote
3answers
2k views

ffmpeg command not found but its installed on server

I was trying to update ffmpeg, after searching a lot on this topic i decided to uninstall the old one and install new version of ffmpeg i-e; ffmpeg 2.6.3 i installed new version using this link but i ...
0
votes
0answers
52 views

Sourcetree interactive rebase giving a commit prompt instead of selecting commits

There is this nice feature in Sourcetree about the interactive rebase https://www.youtube.com/watch?v=SF3IO_m9jdY Probably things changed in Sourcetree 2.0.x When doing the same thing, I'm always ...
1
vote
2answers
501 views

Brew update: error: Your local changes to the following files would be overwritten by merge

I'm very new to homebrew and git. I've done changes to httpd24.rb formula which is in homebrew/apache tap. (Just added the --enable-so configuration argument in the existing formula file) Now when ...