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

backup / version control hybrid scheme

Any suggestions for how to implement something that's about halfway between version control and a backup system? Specifics: I've been playing around with git and mercurial, and discovering that ...
1
vote
1answer
89 views

Windows 2008 - `Where` command shows correct path but the actual command does not work

On my Windows 2008 VM, I have Git installed. When I run following command where git I get following output C:\Program Files (x86)\Git\cmd\git.cmd C:\Program Files (x86)\Git\cmd\git.exe but when ...
2
votes
1answer
886 views

git pull does nothing / git push just hangs / debug1: expecting SSH2_MSG_KEX_ECDH_REPLY

I had an issue in ubuntu 13.10 and 12.10 where attempting to connect to github (git clone / pull / push or anything) would fail with no output. I checked my /.ssh directory for config and any ssh ...
0
votes
1answer
100 views

Bash echo color as function output in PS1

I want my PS1 to display (if i'm in a git folder) the branch, and color the branch with red if working dir is dirty, and blue if it's clean. Here is what i came up to IBlack='\e[0;90m' # Nero ...
1
vote
0answers
581 views

How can I visualize Git Flow branches?

I use the Git Flow workflow. But I can't generate a good-looking log in tree graph. The size is too small and won't show all the branch relationships like in the Git Flow chart. How can I create a ...
2
votes
1answer
87 views

Git Extensions shows results that don't match search filters as well as results that match

Git extensions when searching using different filters (for example, commit message) will show results with commit messages that don't contain my search string. This is really annoying is there any way ...
0
votes
1answer
87 views

How do I make NppExec open Git Bash in its own window?

I installed the NppExec plugin for Notepad++ to be able to run Git Bash from inside the application, but it runs the script within the built-in console in Notepad++. This makes the colors disappear, ...
1
vote
1answer
144 views

How to list files modified by git pull/git merge?

in one of our projects, MysQL-Dumps are synced with git. One file for each table in the database. After pulling/merging the dumps are imported to the local database with a hook. The problem is now, I ...
1
vote
1answer
38 views

git diff filter for minimized files

I have a minimized JSON file in my git tree. It is a bunch of data on a single line, without spaces. Diffs for this file are not very useful, any change in the data, of course, results in the whole ...
1
vote
4answers
5k views

Installed Git, not sure how to get it working

Ive installed Git on my Mac (OS 10.7.5) and it seems to be successful (I get the successful installation message). But when I open my terminal and try some basic command line, eg" git --version I just ...
2
votes
1answer
51 views

Multiple user ID matches in gpg

My GPG secret keyring contains multiple keys with the same email address. Although I can set the global default key easily enough (with default-key) some tools I use (for example, git and the Debian ...
0
votes
1answer
109 views

Tracing an error message when starting Tmux or Vim

Recently when I start Tmux on my Mac (with Powerline) in iTerm, I get an error git: Permission denied. I also get the error over and over again as I type in Vim (also using Powerline). As you can ...
0
votes
0answers
15 views

Git authentication is being rather weird

When simply pulling some repos, I am asked to supply a username is password. I've changed my password to bananas in the prompt here for my safety. Anyway, this is what it looks like: Fetching ...
0
votes
2answers
46 views

How can I get all the files from one git branch, and put them into the current branch without merging?

I don't want to commit anything. I just want to take all the files from a different branch and replace all the current files I'm working on with those, while it doesn't change my current branch at ...
4
votes
3answers
265 views

Is there a way to redo a merge in git?

So I made a pretty big mistake. I made a commit, pulled, merged (but messed up the code while doing so) and then pushed. I'd like to redo that merge and get the code right. Is there any way to do ...
2
votes
1answer
228 views

git tag with gpg-agent and pinentry-curses

When using gpg-agent with git tag -u, I'm getting the following error immediately: gpg: cancelled by user gpg: skipped "my@email.com": bad passphrase gpg: signing failed: bad passphrase error: gpg ...
0
votes
1answer
46 views

GitHub with HTTP protocol

I read that HTTP, aka http://github.com Doesn't work with GitHub anymore However it seems to work for me $ git clone http://github.com/antirez/redis Cloning into 'redis'... remote: Counting ...
1
vote
0answers
131 views

Cannot fetch urls from outside the browser

I am trying to clone a small repo on my Windows 7 PC using 'msysgit' bash command like as follows: talha.ahmed@ICE-088 /d/talha.ahmed/workspace/repos $ git clone https://github.com/torvalds/linux ...
1
vote
1answer
570 views

Kaleidoscope for git difftool

I tried using kaleidoscope for git difftool to compare two branches. So I installed ksdiff and setted it like follow in my .gitconfig [diff] tool = kaleidoscope [difftool "kaleidoscope"] ...
0
votes
0answers
44 views

Remote Access Ubuntu running Gitlab from another network

I have an Ubuntu VM running Gitlab(from Bitnami) on my OSX Server 3. I can access the VM via 192.168.100.58 and working with git works fine. Now, I want to be able to work with gitlab from another ...
1
vote
0answers
67 views

How to setup git for RStudio projects on shared Windows folders

I have all my RStudio projects in a shared Windows folder, say //server/share. I can successfully create a project at //server/share/project, and when I do so in an empty folder RStudio populates the ...
1
vote
0answers
79 views

Debian Jessie repositories and git

How should I edit the sources.list so I will be able to get Git via apt-get? If I run apt-get install git now, I get Unable to locate package git While I can manually download and compile ...
1
vote
1answer
419 views

Trying to install and create new git repository for first time - I think disconnected work network drive is creating issue

I have windows 7 installed. C:\ is a local drive. H:\ is a work network drive that continually re-installs every time I boot. I have learned to just disconnect it whenever I am doing any coding from ...
1
vote
1answer
61 views

updating a macports installed program to the most recent revision

I general use macports to manage as much as I can---emacs, for example. Just now a fix was implemented in emacs for a bug that's been bothering me. Is it possible to incorporate the most recent ...
1
vote
0answers
74 views

Git interactive.singlekey from urxvt

In git-config's docs it says (emphasis mine): interactive.singlekey In interactive commands, allow the user to provide one-letter input with a single key (i.e., without hitting enter). ...
2
votes
2answers
2k views

How to set up SSH auth with Windows/git/tortoisegit/putty/Synology

I'm hopelessly confused. I am trying to stop tortoisegit from prompting me for a password every time I pull/push (I don't mind once for each time I log on to Windows, but thereafter I want it to be ...
0
votes
0answers
240 views

Why am I getting git error “remote: error: unable to create temporary file: No such file or directory” on push?

We're transitioning from cvs to git, and I have a test setup where I have a git server that authenticates users with LDAP, let's call it REMOTE, and then my personal machine, let's call it LOCAL. Both ...
0
votes
1answer
352 views

Setting up OSX keychain for git access

I'm setting up a git server which we will access using ssh, and where the users are authenticated using LDAP. Is there a way to use the credential-osxkeychain so users don't have to enter their ...
0
votes
1answer
67 views

how to manage secure application API keys with Chef

I have an application I'd like to provision a VPS server for using Chef. My application uses a file that sets up environment variables containing secure API keys for various third party services. I ...
3
votes
0answers
160 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
1answer
56 views

Creating a Git repro on my website

I'm not clear on which folder I should CD into to create my Git init? My Linux server folder structure is home/account/public_html Should I be in my public_html folder when I do the init? Thanks... ...
1
vote
0answers
58 views

How to Properly Use a Cloned Rails Project

Recently, I set up a new dev machine. To get it to seamlessly work with my other machine, I used Git to put my project on BitBucket. Then, I cloned it to my new machine. However, running rails s on ...
1
vote
0answers
21 views

Get informed on a specific github repository change

There are a few repositories holding plugins for certain environments/programs. One example would be Homebrew. Another would be oh-my-zsh. I want to be able to get notified whenever a new plugin is ...
1
vote
3answers
138 views

Removing carriage returns (^M) from certain lines without modifying every line

I have some fairly long C++ files, and git diff --check is reporting that there are a few carriage returns ^M on about 15 different lines. This is on a Windows 7 machine. After searching through ...
1
vote
2answers
1k 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
1answer
65 views

How do I avoid continual issues with multiple programs (git, ruby, python) and default network drive path problems?

I am not an advanced user. Windows 7 PC. Our network admin has a network drive (H: drive)that installs on restart.....which I do not have access to when not in the office (or is not available via ...
-1
votes
1answer
84 views

Can connect to github.com, but cannot pull

I don't know why this is suddenly happening, I haven't had any issues prior to now. I cannot seem to pull from GitHub. I can connect, the following works: $ ssh -T git@github.com Hi kbjr! You've ...
0
votes
1answer
83 views

Why does Github list the Ubuntu computer's name as author instead of my Github account name when I push from command line?

When I git push from a terminal on my Ubuntu box, which has a computer name of Bot, it asks for Github credentials, and I provide them. The username I provide is my own, not Bot. Yet when I go to ...
0
votes
1answer
104 views

How do I access this environment variable in the windows git bash shell

I am trying to configure my windows portable git bash shell. When I execute env I get: ANT_HOME=C:\Program Files\WinAnt PORTABLEAPPS.COMVIDEOS:FORWARDSLASH=H:/Documents/Videos ...
2
votes
0answers
35 views

Git - rebasing a file into past history of that file

Lets us say I have a file filename in a git repository in subirectory dir1 with a history something like this: v7 --- v8 --- v9 --- v10 The file is part of a larger repository with various ...
0
votes
4answers
374 views

Debugging git repo permissions on samba share

I've been working with git repositories cloned on samba share for about one year and apart from few problems with setting it up there weren't any issues with it. Recently I tried to add some files to ...
0
votes
0answers
36 views

Graphical interface to git with support for signed commits?

Is there any graphical interfaces to Git with support for gpg signed commits? I've tried the "Tools" -> "Add..." way of the builtin git gui that comes with git but that doesnt work with commit -S. ...
2
votes
0answers
253 views

Default permission for new file cygwin on Windows 7

I am using cygwin on Windows 7 professional. When I create new files such as MyNewFile.java it seems to get default permission set to 755. This is not what I want. I want it to be 644 for regular ...
0
votes
1answer
46 views

How to zsh pipe to grep to match remote branches beginning with 'orgin/'

I tried this: git branch -r --merged | grep '^origin/' But I get nothing... When I remove the caret: ✗ git branch -r --merged | grep 'origin/' origin/HEAD -> origin/master ...
1
vote
0answers
66 views

Seting up a git server on a laptop within home network

I have an old laptop that have no use for it. I was thinking about turning it into a git server to push my code from my desktop to it. My Desktop and Laptop are on the same network at home, so I was ...
1
vote
1answer
27 views

GitBash to create Git Repository in Network Places?

I'm running Windows XP SP 3 on my computer. I know how to use GitBash, but I don't know how to get to my Network Places area within it so that I can create a Git Repository of a folder within a ...
1
vote
1answer
550 views

Automatically chmod a file when doing git add?

I have an ubuntu development system using git to manage files, but I like to do my editing in QTCreator on a different (windows) system, so I have a windows network drive mapped to the ubuntu server. ...
1
vote
3answers
177 views

Strategy to maintain dotfiles for different OSs (i.e. osx and ubuntu)

I use a Git repository to maintain my dotfiles (vimrc, zshrc, tmux.conf, etc.). As I've two different operating systems (OSX at home and Ubuntu at work) I've dedicated a branch for each system. This ...
1
vote
1answer
264 views

Git cannot clone repository into CIFS mounted directory

Attempting to clone a remote Git repository into a CIFS mounted directory on Linux. The error is: $ git clone ssh://git@github.com/ghuser/ghuser.git dir Cloning into 'dir'... fatal: Unable to create ...
0
votes
1answer
247 views

Encrypt files before sending them to Cloud

Recently I switched to GIT along and picked bitbucket to host my code. Now with all the snowden scandal, I decided to review my choices. I really don't want to host my data on my own server, I'd ...