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
2answers
89 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 ...
1
vote
0answers
8 views

Jenkins not able to poll Git repository

I'm setting up Jenkins on a Tomcat 7.0 in a Windows machine and I'm having some trouble trying to retrieve the content of a Git repository on a Unix machine. When I input the repository url, I get ...
0
votes
1answer
7 views

How can I get Git to ignore/drop files I have deleted or that are only file-system artifacts (ending in ~)?

I would like my git repository to show only files that currently exist in the directory. In particular, I just pushed my git project to a remote repository on github.com, and now it's showing all ...
0
votes
0answers
7 views

How to enable arrow keys on vim used from msysgit bash

I just need a simple solution that will enable the arrow keys in the vim included with Git For Windows. I did found a solution to enable backspace. But no solution for the arrows problem. The arrows ...
3
votes
1answer
2k views

GIT Identity file not accessible: No such file or directory

Host github.com git HostName github.com user git IdentityFile ~/.ssh/github //I've tried also /home/freinn/.shh/github There's no /home/freinn/github file created, have I to create it? That's the ...
1
vote
2answers
4k views

How to auto commit to my git repository using cron?

I look into a lot of answers about this subject, but something is wrong here, let me explain. I create this script, to make my cron cleaner :) #!/bin/bash cd ...
1
vote
0answers
19 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 ...
2
votes
3answers
5k views

How to get git bash back in Windows Explorer context menu

I've had git running on my machine for over a year. I have a folder in my C root called gitRepo, which contains all my various repos. For some reason, for one repo only, the git bash command is ...
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, ...
3
votes
1answer
3k views

Downloading big Git repos on Windows without getting “out of memory”

When I try downloading or cloning a large Git repo I keep getting an "out of memory" error like so: error: git upload-pack: git-pack-objects died with error. fatal: git upload-pack: aborting due to ...
0
votes
1answer
43 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 ...
0
votes
2answers
24 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
21 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
49 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 ...
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
18 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?
19
votes
4answers
6k views

How can I enable colored output for OSX diff?

I need to diff two files (not two versions of the same file, they are however tracked by git, but that is unrelated) and I would like some colored output, how can I achieve that? $ diff file_1 file_2 ...
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
1answer
46 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
2answers
3k views

How do I add as editor Dreamweaver to work in GIT?

How do I add Dreamweaver as the editor in Git? git config --global core.editor??? $ slime README.md sh.exe": slime: command not found
76
votes
13answers
46k views

How to get git-completion.bash to work on Mac OS X?

I have followed http://blog.bitfluent.com/post/27983389/git-utilities-you-cant-live-without to add git-completion.bash to my /opt/local/etc/bash_completion.d/git-completion and I put ...
0
votes
0answers
11 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
10 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
2answers
405 views

Git multiple config files

As it is told in git-config manual, I have three files to specify git repo configuration: $GIT_DIR/config, ~/.gitconfig and $(prefix)/etc/gitconfig. Is it possible to make git read another config file ...
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 ...
1
vote
1answer
56 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
29 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 ...
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
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
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
2answers
3k views

How to Compile and Install Remmina From GIT Repository for Ubuntu (KDE)?

Gentlemen, I would like to compile a version of Remmina directly from the GIT repository, because I need to apply a patch to fix a problem. With the command sequence below I can compile it and ...
0
votes
0answers
23 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 ...
6
votes
4answers
8k views

Why is Git falsely noting that my files are up-to-date?

I have 2 folders A and B in my file directory that link up to the same Git repository. I created a file in folder A called "index.html". I then create a different file also called "index.html" in ...
0
votes
0answers
9 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 ...
2
votes
2answers
654 views

how to get git on solaris webspace?

I'm renting webspace with SSH access and I want to host a GIT repository on it. The problem is that GIT is not installed on the server, which is running Solaris and therefor it is difficult for me to ...
11
votes
1answer
9k views

GitHub for Windows Install Error

I'm trying to install the GitHub for Windows that I downloaded from the GitHub site. However, I get the following error message: Application cannot be started. Contact the application vendor. ...
0
votes
0answers
40 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 ...
0
votes
0answers
14 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 ...
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 ...
4
votes
1answer
463 views

Far Manager: Highlight file/dirs using external metadata (like SVN, Mercurial, Dropbox, etc)

I've recently migrated to Far Manager 3 and revised my app settings from scratch. One of those improvements was adjusting the file groups highlights (I didn't change them for long time even knowing ...
0
votes
0answers
33 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 ...
62
votes
4answers
21k views

Git Bash Here in ConEmu

How do I create a right-click context menu entry to open Git Bash at a given folder within ConEmu? See Git Bash Here in Console2 for the equivalent question for Console2.
4
votes
6answers
5k views

Setting up SSH/Git on Cygwin yields “Bad permissions on ~/.ssh/config”

I'm attempting to setup Git with OpenSSH under Cygwin. I almost got everything setup. I have the agent and public key and all that.. but now I get this really weird error: $ git pull -u origin master ...
0
votes
1answer
35 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 ...