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

Working with nested git repos in webstorm

I have a git project in web storm and cloned another git repo into it and a pop up came with unregistered cvs root which I ignored. Now I want to commit the directory with the inner git repo but I ...
0
votes
0answers
9 views

Git in Visual Studio 2013 stops working abruptly

Yesterday, I went home with Git working perfectly well inside Visual Studio 2013. I could 'Compare with unmodified' for a source file, I would see the version control status of my source files, and ...
0
votes
0answers
8 views

Setting up a git (ssh) server using OS X Server

I would like to use OS X Server to set up a git server that I can ssh into from other machines on my network. I realize that Xcode Service has repository functionality built in, but I am looking for a ...
1
vote
0answers
13 views

Cloning a git repo

I am trying to clone a repository for testing web apps. I shared the folder and ran the command: git clone E:\weewikipaint weewikipaint from C:\projects directory. I get the directory ...
0
votes
1answer
13 views

How to install mintty into 'Git Bash' on windows?

I have installed git on windows from http://git-scm.com/download/win and I use the Git Bash shortcut to access git commands. Unfortunately, Git Bash uses the Windows Command (CMD.EXE) Terminal which ...
0
votes
1answer
17 views

Git is in the PATH, but is not being recognized as a command

I've recently reinstalled Git, and I just can't get it to run off the native Windows command prompt anymore. I'm sure it is in Path environment variable, as you can see: C:\Users\Ult>where git ...
1
vote
1answer
17 views

Make Git Bash open to root directory from custom link

I'm using rainmeter to make a custom dashboard for windows and ran into a problem making a custom start button for git bash needing it to open to my root directory. The odd part is I have gitbash ...
0
votes
0answers
10 views

Git pull in jailed environment

There is a user on my server which is jailed by SSH using ChrootDirectory to '/var/jail' This user is trying to use several git commands, but not all of them are working. The following message is ...
1
vote
1answer
18 views

Setting up remote git repo that is on an encrypted drive?

I would like to set a remote git repo that I will be pushing to regulary, which is easy to do. But I want to set up this remote repo to be on a LUKS (Linux Unified Key Setup) formatted drive (via ...
0
votes
0answers
24 views

.dotfiles gitignore not ignoring vim/tmp folder

tmp=.dotfiles/vim/tmp.GITIGNORE=.dotfiles/.gitignore. I have created a gitignore for vim/tmp inside my .dotfiles but they are not being ignored. My temp folder contains /backup/swap/undo/ and every ...
0
votes
1answer
9 views

How to merge a git repository once split off without history

I have a master git repository, and another repository, that contains code that once was just copied from the other codebase without history, but then versioned by git again. So the second repository ...
1
vote
0answers
7 views

How to upgrade Git in Aptana Studio 3

I just did an update to Aptana Studio 3 to the latest version but unfortunately it did not update the git binary in the built-in shell facility. How do I update git (more precisely msysgit) in Aptana ...
2
votes
1answer
17 views

Getting started with GIT, basic flow

I'm getting started with GIT and would like to know a very simple workflow for branching. I'm hosting my repo online and have various features to add locally. It's our plan to make feature branches ...
0
votes
1answer
21 views

CentOS yum — pre-existing rpmdb issues

I'm trying to install git on a developer box and I get the following: You could try using --skip-broken to work around the problem ** Found 3 pre-existing rpmdb problem(s), 'yum check' output ...
0
votes
1answer
41 views

cannot run bundle using zshell, get git errors

I have oh-my-zshell installed and these are my plugins plugins=(git rails ruby coffee npm bundler) I can run npm fine, but whenever I run bundle install inside m project i get this error etching ...
0
votes
1answer
7 views

zsh git completion reports _git:4113: bad set of key/value pairs for associative array

I have installed zsh and git on SLES 11 SP2. When I try to trigger an auto complete for a git command I get the following error message: zsh git completion reports _git:4113: This is my .zshrc # ...
0
votes
1answer
16 views

.odt vs .fodt: which is most space effective for git repositories?

Which is most space effective for git repositories: LibreOffice/OpenOffice .odt files or .fodt files? I think that it should be .fodt, since with the uncompressed XML format .fodt the repository ...
1
vote
1answer
45 views

On Ubuntu 14.04 with laptop mousepad disabled, how do I paste from clipboard?

I just installed Ubuntu 14.04 on my brand new laptop, having disabled the mousepad, so as to get used to the keyboard, I have just set up my Github account and SSH. The final step of account setup is ...
2
votes
1answer
36 views

Git :: A lot of untracked files

I've just added a new git repo on my machine and I've noticed an extremely messy git status. It's showing a bunch of files from my desktop, c:/, basically almost everywhere. It's going outside the ...
0
votes
0answers
9 views

First time using Git questions

I started yesterday using Git and I'm very confused about adding contributors to my project. Tutorials say that I need to create a user called git and a group called git. sudo adduser --system ...
-1
votes
0answers
8 views

How to get the commit github link from SourceTree

When I right click on a commit in source tree there is a Custom Actions button that for me, does nothing when clicked. What I am looking to do is right click on a commit in the timeline, get a link ...
0
votes
0answers
46 views

bash: git-receive-pack: command not found

I've just changed the git remote for my server, and now when I try to use git push web master, (after staging and committing the changes), I get this: bash: git-receive-pack: command not found fatal: ...
0
votes
0answers
13 views

Google Drive with a .gitignore like option

With git and hg, etc, you can define .gitignore file that will prevent certain folders/filetypes from being saved to the repo. Is there anything of that nature for Google Drive? In the preferences, ...
2
votes
2answers
59 views

what is `ssh-agent bin/bash` and why I have to `ssh-add` everytime

I have to run the following commands each time I restart: ssh-agent /bin/bash ssh-add ~/.ssh/key_rsa First question is why is /bin/bash necessary and what it is used for? Second, Is it ok I run ...
0
votes
1answer
74 views

Error while installing Perl package Term::ReadKey in Cygwin

I'm trying to use git via cygwin Well, I used this command to clone the svn content to a local git repository: git svn clone svn://path/to/my/project --username myuser Git was returning: ...
1
vote
1answer
42 views

How to do full version control on OneDrive (with git?)

I'm using OneDrive to store all sorts of files (not just Office files). Unfortunately, versioning isn't supported except for Office files. I'd like to do this manually, with git or svn or anything ...
5
votes
1answer
305 views

How to store git repos of abandoned projects?

I have over 200 projects on my workstation, every one is a git repository. Most of them are superseded or otherwise abandoned. I still keep the code in case I ever need anything from them. Currently, ...
0
votes
0answers
18 views

Windows .bat or .sh file to prepare multiple repositories for sourcetree

What I am looking to do is run a script that will: delete folders a,b and c from a directory. re-create the folders a,b and c as a a local git repository (using their individual git source urls) ...
0
votes
0answers
18 views

Re-add ssh key every time I restart my mac

Every time I try to interact with git after I restart my machine I and given an error saying I have been denied access. To fix this I enter the command sudo ssh-add -K ~/.ssh/github_rsa This ...
0
votes
0answers
52 views

git commit not working in shared folder under VMware Workstation 10

I'm working in Ruby on Rails under MacOSX 10.9 in VMware Workstation 10. I moved my RoR project folder from the Desktop into my VMware shared folder. The reason is because some character's location ...
0
votes
0answers
24 views

Using the windows certificate store for git SSH

I am currently working on setting up a build environment that will use OpenSSH with certificates as the primary authentication method (Certificates, not public-private keys). The build environment ...
0
votes
1answer
32 views

Github let me commit as another user

I'm learning how to use Git, and I've noticed that there's no control over the user.name and user.email when commiting. For example, I'm inside my repository. I change my local config, $ git config ...
0
votes
0answers
22 views

Windows right click on git bash menu, report can not find sh

i am able to open Git Bash from the program, but right click on drop down menu 'git bash' it says can not find sh. How can I fix this problem?
0
votes
0answers
12 views

Ratio of size of single version to size of full distributed version controlled archive

I am considering using Git. What I would like to know is, if I am going to download the full distributed version controlled archive to my local machine rather than checking out a single copy as used ...
0
votes
1answer
26 views

How do you stop or prevent gitlab from running on startup?

I've installed gitlab on Ubuntu 14.04, from the following deb file: gitlab_6.9.2-omnibus-1_amd64.deb It works beautifully. But I want to perform some maintenance on the box without gitlab running, ...
1
vote
2answers
96 views

How to configure automatic password handling for git commands:

I have an automatic build script for my build server that builds Android applications. As part of this building process, I need to pull the current sources from the repository to make a release and ...
0
votes
0answers
111 views

Best way to build a home server to share really large files between OS X and Windows?

I'm thinking of getting a local server for our offices - because we are video editors, and having several copies of every single project we're working on is simply ridiculous. It's incredibly ...
2
votes
1answer
100 views

Installed Mysgit for windows and Git bash is returning dev/null

I did an standard installation of git for windows. However when I opened git gui these what I've seen in my screen and as for git bash. Welcome to Git (version 1.9.4-preview20140815) Run 'git ...
0
votes
0answers
29 views

Daily crontab with hg, git and svn

Hello I have made a script that updates some repos from git merc and svn, then updates a git repo. The script works manually but doesn't work in crontab, here is the script: #!/bin/bash cd ...
0
votes
0answers
24 views

git-svn creates directories but doesn't check out content

I am migrating an SVN repository to Git using git-svn combined with some light bash scripts on Ubuntu 14.04. Locally. git-svn has worked fine so far (on Unix), but recently, it sort of gets stuck ...
0
votes
1answer
39 views

Why does sourcetree want my email?

I'm new to version control systems. I've installed the sourcetree system for windows 7 and skipped the registration in bitbucket and other online repositories. When I try to do the first commit, it ...
0
votes
1answer
21 views

When downloaded code from SourceForge does not reflect the latest edits, what could be the issue and how can I solve it?

In the following sourceforge hosted libdc1394 library, Damien Douxchamps correctly added some lines of code to /usb/control.c on 2014-3-6. The latest 2.2.2 package of this library, was modified and ...
0
votes
1answer
15 views

Git bash with Chinese?

I have a few folders with Chinese characters in them. I simply want to cd into them in Git bash, but this is impossible since I can't type Chinese in its terminal. Is there a plug-in of some sort that ...
2
votes
0answers
136 views

Build an Android Rom (Make Error 41) [SOLVED]

I tried to build a custom Rom for Android 4.4.4. I use as base the Liquid Rom (Github Link) Before I build the rom, I had insertes in the local_manifests some apps to add to the ROM and before I did ...
1
vote
1answer
37 views

How to push changes from a live deployment web server back to the git repository

I'm working in an environment where the developers work directly with script and image files on the live deployment web server. This is scary and has caused a few, though so far surprisingly few, ...
0
votes
1answer
8 views

Are all fetched objects from remote are being pushed forward (replicated) to other repos?

I've set-up multiple git remotes as part of one Git repository and I need to cherry-pick one specific commit from the remote, but I don't want to push anything else to other repos (for the privacy ...
0
votes
1answer
50 views

using git pull after ssh in script

I use public and private key to ssh to a remote server without password. After that, I need to perform "git pull" command. But I don't know how to pass the password into it. Trying the following ...
0
votes
0answers
12 views

Server-Side Git Authentication With Database

I've been looking for information on how to create a system similar in functionality to GitHub & Heroku - whereby a user is prompted to login with credentials set in the database. I have ...
1
vote
1answer
33 views

Using a value from a file and updating it using a Linux script:

I have an automatic build script for my build server that builds Android applications. As part of this building process, I need to increment two parameters in one of the Android application files ...
0
votes
0answers
54 views

Windows Null not Working Correctly

GitHub for Windows is not working correctly, citing a /dev/null error. I have since discovered that Windows' null.sys and Null device may have something to do with it, as running dir > nul returns ...