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
7 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
5 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
5 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
39 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
28 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
11 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
0answers
10 views

Setup Git Extensions Silent Install

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

Why is it recommended for TortoiseGit to be installed before Git for Windows? [closed]

On the official TortoiseGit website (https://code.google.com/p/tortoisegit/), it says ... Git for Windows 1.7.10 or above is also required for TortoiseGit (recommended order: install TortoiseGit ...
0
votes
0answers
10 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
24 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
37 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
11 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
17 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
13 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
7 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
12 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
9 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
30 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 ...
1
vote
0answers
10 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 ...
0
votes
0answers
16 views

How to handle Pull Request with 1 file that will always conflict?

I always run into this, lucky I'm the only dev on the frontend of this project. I have a branch (beta) and make commits there, after awhile I'm ready to merge into (master). If I go to Github and ...
1
vote
2answers
14 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>] ...
0
votes
1answer
34 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 on ConsoleZ as shell and have no problem on open him inside a tab. But, with the new Git for windows 2.4.5.1 RC4, it open always in a ...
0
votes
3answers
18 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
25 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
10 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
42 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
34 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
21 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
19 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
14 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
46 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
38 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
19 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 ...
0
votes
1answer
58 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
39 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
70 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
46 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 ...
0
votes
1answer
29 views

How to load config file via git?

I suspect this is a silly question, but I haven't been able to find an answer online. I'm trying to load a config file in git, but the file is not in one of the default storage locations. So I tried ...
1
vote
1answer
42 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
28 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
187 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
9 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
120 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 ...
0
votes
0answers
34 views

How do I automate git pulls from a private repository using Github's hooks?

I'm sure there's plenty of similar questions to this, but mine's a little more specific. I have a server used for testing, and the site owner wants it to automatically update itself when someone ...
0
votes
1answer
14 views

MinGW shows old version of file

I'm observing a situation where Git Bash (MinGW) is showing different contents for a particular file than everything else on the system. In the image you can see that the file elasticsearch.yml has ...
2
votes
1answer
66 views

Figure out merged commit in prepare-commit-msg hook

I have tried creating a prepare-commit-msg hook that works for merge commits. The script gets passed the following arguments .git/MERGE_MSG, merge. I need to get the hash or branch name of the merged ...
0
votes
1answer
28 views

Using git to sync between servers

I am planning on using git to sync my server configuration files between my multiple game servers (I have over 32) and it takes a long time to change one file on all of the servers. I have created a ...
0
votes
1answer
178 views

Cannot clone repo on windows fatal: unable to access. The requested URL returned error: 403

I have set up Gerrit repository on non-standard port 10002. I have generated my HTTP password in Gerrit. I can successfully clone this repo over HTTP protocol on Unix machines and on most of ...
0
votes
1answer
49 views

Creating deb file in Debian using github source code and debuild tools

I want to compile nginx (with custom libs) using up-to-date source code from GitHub. But if I download the code from GitHub, obviously, there is no "debian" folder and inner files. So, when I use ...