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

Updating GITLAB from 3.1 to 4.0 rake error

I am trying to update my GITLAB. I have been following this article and I got stuck on this command: sudo -u gitlab -H bundle exec rake gitlab:enable_namespaces RAILS_ENV=production --trace The ...
1
vote
0answers
235 views

How do you correct the path separators in git when using powershell

I'm using the github powershell addon to run git on windows. Everything seems to work fine except for when I'm adding submodules. In this case, the powershell addon is adding in paths with \\ as ...
1
vote
0answers
52 views

Git merge. Behavior different on explicit merge than on pull

I have a problem with my git configuration. I like to use the --no-ff option when I merge two branch. So I put on my configuration file ~/.gitconfig under the section [merge] the option ff = no. Which ...
1
vote
0answers
101 views

How to restore version control in XCode?

I have just recently backed-up my XCode C++ project on my pendrive, using rsync -avu Since then, the version control for my project is lost (grayed-out) on every files, I can modify the files and ...
1
vote
0answers
118 views

Mac OSX 10.8 git commands don't work after trying to use git-credential-osxkeychain

Following setup instructions in https://help.github.com/articles/set-up-git to prevent credential entry for each git command, git stopped responding. Every git command "locks up" the terminal until I ...
1
vote
0answers
166 views

Git says branches are up to date when they are not

I have two branches: 1.0, and IE-Fixes. I have no uncommitted changes in IE-Fixes or 1.0. Whenever I try to merge IE-fixes into 1.0, I keep getting told that it is up to date, but I know by looking at ...
1
vote
0answers
15 views

Building git page with jeklly

I'm using jeklly builiding git page. I can view my pages locally (http://localhost:4000/). I have received letter from git. However, I CANNOT open my home page on the internet. What'...
1
vote
0answers
695 views

Error on git clone in cygwin: error: inflate: data stream error (invalid code lengths set)

I am trying to clone a repository using git on cygwin. Machine is a Windows XP machine, running a newly updated version of cygwin I have cloned this repository without any trouble previously, but on ...
1
vote
0answers
65 views

Intellij setup git macro

I would like to know if its possible to setup a macro for git. I want to be able to shortcut a git workflow : for instance : git checkout b git pull git merge a git push git checkout a
1
vote
0answers
183 views

Svn analog of git-shell

I have configured git,so I can pull/push via ssh, authorization via public key, but if I try to make direct shell access, I get Last login: Mon Aug 13 20:12:20 2012 from 192.168.1.3 fatal: ...
1
vote
0answers
184 views

Git differences between OSX and Linux

This has been driving me somewhat insane but I can't find any information on it. I have both Mac and a Linux (Ubuntu) machines. I work on both but I'm finding Git is behaving very differently during ...
1
vote
0answers
897 views

slow git performance

I have an older machine with a git repository on it that I use to keep synchronized with svn. I've noticed that with running basic commands like git status, it is ridiculously slow. I was initially ...
1
vote
0answers
69 views

Java opens a new window when I start it from mingw/msysgit, how can I stop it?

When I launch anything that uses Java, i.e., command lines beginning with java, javac, jar, mvn, etc., from cmd, I see the output in the same window. When I launch them from msysgit's bash shell on ...
1
vote
0answers
93 views

Git for windows xp crashes all the time

I am trying to clone a git repo on windwos xp. I am using GIT BASH. But everytime i try to clone it i get the error as below. I tried to restart my pc but this didn't help. Any suggestions?
1
vote
0answers
306 views

Incessant prompting for id_rsa passphrase

Running on Mac OS X and I switched to zsh a couple months ago & started using git quite heavily. At each initial login now I'm getting a prompt for my .ssh/id_rsa passphrase: starting... Enter ...
1
vote
0answers
55 views

How to setup Xcode's SCM for static and dynamic site content?

I want to use Xcode 4's SCM (GIT) to manage your static and dynamic site content, which I edit and maintain with a variety of tools (CSSEdit, Dreamweaver and Espresso). I have tried creating ...
1
vote
0answers
375 views

How can I make FTP ignore Git Files?

Is there a way that I can have my FTP client ignore the .git directory? Is there anything like the .gitignore (.ftpignore) file with FTP?
0
votes
0answers
4 views

dyld: Library not loaded: /usr/lib/libcurl.4.dylib

I'm on Mac OS 10.6. I did some weird stuff trying to run a Jekyll and Node.js based site locally, which didn't work, and I'm now having problems with basic git functionality. The earlier process ...
0
votes
0answers
30 views

Git Server Hardware Requirements

What is needed for running a non lagging, stable Git Server? I'm thinking of running a Git Server on a Raspberry Pi 3 B and backing up anything to a flash drive.
0
votes
0answers
9 views

Sync Two Files for Collaboration

So I have a group of git repositories (on Windows) that I am using to collaboratively write some papers with in latex. For these projects I have a file: macros.tex that I want to use for all of them. ...
0
votes
0answers
7 views

Compile chromium not at latest git

I am trying to compile chromium. I need to compile it at the tag 51.0.2704.106 or the commit 21afa7f9b196ebd977e7215aa48ecb0effd1f8c3 . I have done the following: git init git remote add origin https:...
0
votes
0answers
38 views

Using SSH key in bitbucket?

I'm trying to add SSH key to bitbucket.org account, but with no success. I added my public key in bitbucket profile settings, then changed my remote URL to be SSH. But trying to connect to remote, ...
0
votes
0answers
4 views

How to set default merges commits with no fast-forward in Atlassian SourceTree

Is there a way in settings or config files to make this checkbox to be marked for every merge?
0
votes
0answers
24 views

How do stop the OpenSSH window from continuously prompting me for my passphrase?

I'm using the git bash terminal on Windows 10 to work with repos. When I use a repo where I used SSH to connect to the remote repo, I get an OpenSSH dialog that requests my passphrase with 'Enter ...
0
votes
0answers
15 views

Make git NOT store object files in the .git directory

I would like to use git to track change history messages and hashes of files to track changes, but I don't want it to store the objects in the .git directory. Why? Because putting 4TB in a git ...
0
votes
0answers
21 views

Recommendation of CI Tools for JavaScript package

My company is building a javascript library that works very much like a google analytics javascript package: Our customers are adding a <script> tag. The javascript code is running against our ...
0
votes
0answers
12 views

How to change the template of a gitbook?

Gitbook Templates I began with the basic format, but released later that I'll need to made the switch to 'science' for built in TeX support. TeX appears fine within the editor, but not in 'read' ...
0
votes
0answers
29 views

zsh git status shows all files in repo as modified (when they are no )

My setup: Windows 10, cygwin, miTTy and oh-my-zsh. Problem: when I get to a folder of a git repository it takes a long time (3-15 seconds) for the commandline to get to this folder. It depends on the ...
0
votes
0answers
10 views

Linux “zombie files” at every deploy

I'm using deploybot to deploy my application. It pulls from bitbucket to my server. I've been experiencing a weird problem lately. At every deploy, it revives old files that have been deleted. I ...
0
votes
0answers
26 views

Cleaning up big bare git repository fails

I can't clean up a git repo. If I try to, I get this error message: $ git gc Counting objects: 8828, done. fatal: Cannot handle files this big error: failed to run repack If I google it, there are ...
0
votes
0answers
17 views

Git am not working (am not a git command) without sudo Ubuntu 14.04

I'm trying to apply some patches using git-am but it's not working. The exact message I get is: git: 'am' is not a git command. See 'git --help'. Anyone have any suggestions? It used to work, and ...
0
votes
0answers
17 views

Git installs to a network drive

I'm using Git at work (on Windows 8), but we have a variable in AD called 'HomeDrive', which is annoyingly set to a network drive. Git has decided to install the git bash and other utilities here, ...
0
votes
0answers
27 views

How do you upload a file on gitlab via the web interface?

I'm on gitlab 7.13 and it says 7.9 has the drag and drop feature already. But I can't seem to figure out where it is. Some sites its on the drop down when you add a file, but I dont see anything. Am ...
0
votes
0answers
6 views

“git-receive-pack” isnt allowed to be executed

I know there are many similar questions on this site, but none of the solutions seems to be working for me. When I attempt to push code to my new git server, I always get the following error: "git-...
0
votes
0answers
21 views

How can I force git submodule update --init to skip errors

I have my folder with active projects I’m working on and all of them are versioned as git submodules. When I set up a new work environment, I clone my folder using --recursive (or clone it normally ...
0
votes
0answers
20 views

Does Github Desktop understand when changes have been committed on command line?

I'm trialing Github desktop for our designers, so they can easily work within a repository that devs do as well. Github desktop seemed OK, but I just made 2 commits via the cmd line rather than the ...
0
votes
0answers
45 views

what to do when I forgot my master password on smartgit?

I'm using SmartGit 7.1.3 for take care of a github repository. I put a master password on the smartgit when I was setting the repository. Next I forgot my master password then I didn't sync with my ...
0
votes
0answers
27 views

how to shorten git to g by using a alias

I am running git 2.7.2.windows.1 and I have edited my .bashrc file to have this line alias g='git' but when I type g status I get an error bash: g: command not found I even tried editing my ...
0
votes
0answers
12 views

Github or Git commands for Flatten, Hydrate, Inflate

I'm working on a project that already has a few javascript and css libraries and even some binary files in it and wanted to add a project.json file for the libraries that exist in nodejs or other ...
0
votes
0answers
72 views

How can I make git bash `which` command work with windows?

If I type which node in git bash in Windows, then I get node's path, but when I type which open, it says it's not found. The open program is in PATH, but not marked as executable since chmod +x doesn'...
0
votes
0answers
18 views

MINGW64 (downloaded from www.git-scm.com) - How can I set it to use my system version of vim, rather than the build in version?

I'm trying to set up vim as a GO IDE. I also use the version of MINGW64 that git ships with as my terminal. Everything works as expected. I can run gvim from the terminal no problem, but when I try ...
0
votes
0answers
11 views

Getting my private key from my OpenShift account

I am a relatively new user to OpenShift. I have some experience with git and I was using it perfectly on my old Mac. The Mac broke down and had to recycle the parts to a store that recycles computer ...
0
votes
0answers
30 views

git under Kerberos: 'fatal: error when closing sha1 file: Connection timed out'

Trying to update a git repo on a remote server with kerberos authentication. running me@remote:/path/to/repo/$ git fetch local:/path/to/repo yields the error fatal: error when closing sha1 file: ...
0
votes
0answers
21 views

git deployment to windows machine

I am developing scripts for stimulus presentation in an experiment in cognitive neuroscience (in a proprietary language). 'Deploying' these scripts simply means copying them to the desktop of a ...
0
votes
0answers
11 views

Git pull fails while push and fetch are working

Ok, this is irritating because I thought that if push and fetch are working, so should pull as it is based on the same git configuration line (section [remote "origin"] -> URL). Origin is a server ...
0
votes
0answers
36 views

Deleted a Windows folder using Linux command rmdir -rf foldername

I have a folder on a Windows 7 machine with contents in it and decided to delete it using Git Bash, namely with the command rmdir -rf foldername. According to this manual http://www.computerhope.com/...
0
votes
0answers
35 views

issue launching atom via git bash shell

I am trying to launch atom from the git bash command line. Sometimes atom has some sort of an auto-update feature where it upgrades itself. And when that happens, you may notice something on the ...
0
votes
0answers
52 views

Could not read from remote repository

I am facing an issue while configuring the git lab. I have two systems called A and B (both are Linux). I have configured git lab on machine A and I can access from machine B via the browser. I can ...
0
votes
0answers
9 views

Webfaction: how do I have my secondary user sudoing as main user in post-receive?

I am using webfaction (remember this, since I don't have access to root or standard sudo foo --bar commands to get admin rights) and have two user accounts in a server I manage for someone (one user ...
0
votes
0answers
4 views

How to show result of git reflog in the same window as the other commands?

When I type git reflog, the result is shown in another window like with man command (I don't really know how to call it). To quit the window you must use q key. How to show the result in the same ...