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

1
vote
0answers
17 views

Github Desktop has stopped working (after updating to windows 10)

After updating to windows 10: Everytime i run Github Desktop the error "Github has stopped working" pops up. Microsoft Visual Studio debug retrieves this message: "System.IO.FileLoadException was ...
0
votes
0answers
13 views

Get list of who written more code on a specific git branch?

I'm working on a big project with a lot of team members, and we are rewriting most of the code inside a new branch. I'd like to know who are the top committers, or better, who have written more code, ...
0
votes
2answers
23 views

Git branching then deleting code from master

We have been working on a codebase with one git [master] branch. We have got to a point now where we actually need to branch it for one feature and remove that feature from the master branch. So we ...
3
votes
1answer
20 views

How to use git to commit read-only file?

I create a read-only file (file permission 444). When I use git add and git commit, I got a message as below: [master (root-commit) 5b1336e] initial commit 1 file changed, 0 insertions(+), 0 ...
1
vote
0answers
44 views

How to configure .bashrc for git-for-windows?

I used Git Bash for Windows with Version 1.9.5 on my Windows 7 (64bit). I added a .bashrc and a .gitconfig in my %USERPROFILE% folder (C:\Users\<USERNAME>\). Everything worked fine. Now i ...
1
vote
0answers
16 views

How to checkout a remote git branch, on the remote machine?

I keep a simple set of Pandoc-generated HTML files on a server, and I have decided to use git for version control. I never edit files directly on the server, so I keep a branch checked out there on ...
0
votes
0answers
15 views

Online visual semaphore [closed]

I’m currently searching for a webapp. I’m using GIT on many dev projects, and sometimes a git-diff on certain files a just impossible. Best examples are the Unity scenes, or XCode .xcodeproj files. ...
1
vote
1answer
11 views

Building a git repository from a set of manual archives

I am dealing with an application that has been created without a proper content management system. Instead, the source files have been saved into a ZIP archive and backed up every time a new version ...
0
votes
1answer
16 views

how to make alias ssh-add /bin/bash in bashrc?

how does not this work? alias push-bb="ssh-agent /bin/bash && ssh-add ~/.ssh/bitbucker_rsa && git push" I assume it cancels at /bin/bash part?
0
votes
0answers
5 views

Introducing clang-format which a lot of git branches

A project I work on has no style guideline so far and could therefore benefit from introducing clang-format. The problem are many long-running branches which have diverged quite a bit from the ...
0
votes
0answers
10 views

Can I configure Jenkins to only deploy push builds?

I'm trying to set up a simple Jenkins server to do two things: Automatically build and deploy all pushes to the master branch of a Git repo Automatically build but not depoly all merge requests in a ...
0
votes
0answers
8 views

File is corrupted when pusing to Git repo on BitBucket

This has happened twice. The first time to 4 or 5 files. The second time to just one, but I was only pushing one at the time. I am using Visual Studio 2013 to edit PowerShell scripts. I don't know if ...
0
votes
0answers
4 views

Vundle directory automatically copied to dotfiles directory with weird permissions

I just installed mathiasbynens dotfiles (only the bootstrap scripts, not os x default, not that it matters). The bootstrap script copies all the files to ~ folder (not symlink, copy). Anyways, I have ...
0
votes
1answer
28 views

Can't Install Homebrew on OS X Yosemite

Attempted to install Homebrew with the following command: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" Received this error: fatal: unable to access ...
0
votes
0answers
13 views

Why can't I git push from gTerm / MATE Terminal?

I'm running Linux Mint 17 'Qiana' MATE and have a strange issue with bash sessions initiated via Gnome Terminal: whenever I attempt to push code to our git repo via git push, the operation fails with ...
1
vote
1answer
54 views

Can't (re)install Git for Windows after issue with previous install

TL;DR: How can I completely remove ALL remains of a (probably) broken Windows Git install so I can start fresh? Looks like something from the previous install is preventing a new one. The "Program ...
0
votes
1answer
16 views

What are the use of bower and nuget?

I am developing an application with the MetroUI CSS framework. I looked their documentation and it contains a link to github. When I saw the github page then there is mention at the bottom of the page ...
0
votes
1answer
13 views

extract a specific revision of the git repository

My level in regards to git is beginner: I'm basically able to commit, pull, push and switch/create branches. My current commit is 222222222 and a previous one in the same branch was 111111111. I ...
0
votes
0answers
22 views

How do I make Git Shell open Bash instead of PowerShell?

I have GitHub for Windows installed. In the options, I have selected Git Bash instead of PowerShell, and when I click on "Open in Git Shell" from within GitHub for Windows, it correctly opens Git ...
0
votes
0answers
7 views

Make git log «file» show merge commits

So I have a thing happen to me that happened once before: I’d done git log --follow «file» and the newest commit I saw was the deletion of «file». However, the file was still in my repo. Later I ...
0
votes
1answer
16 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
13 views

gitk fonts are unreadably small

Most fonts (not all interestingly) are too small to be readable in gitk (yes, this is a 1:1 screenshot): I followed suggestions of another question (and some other solutions found via Google), but ...
0
votes
0answers
38 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
45 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
0answers
14 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
30 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
9 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
33 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
10 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
45 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
49 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
58 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
34 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
18 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
25 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
19 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
38 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
42 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
13 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
24 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
19 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
8 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
16 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
15 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
41 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
19 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
20 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
16 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
83 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 ...