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
1answer
9 views

How to install ImageMagick for MinGW on Windows 7?

Well... already have installed MinGW32 (don't know version - installed in a folder named Git 2.4.4.2) on wiidows 7 and I want to install ImageMagick to run some scripts like the follow: echo " ...
0
votes
1answer
14 views

Vim plugin manual installation guide

I recently installed my very first linux distro (arch linux) and at the moment I'm trying to set up Vim plugins. I'm a total noob and I can't manage to find a step by step detailed guide on how to ...
10
votes
3answers
10k views

How to upgrade to latest git on debian 7?

I have installed git through apt-get on debian 7 which gives me: # git --version git version 1.7.10.4 I would like to ugrade to the latests version of git. I have tried: sudo apt-get install ...
0
votes
1answer
20 views

Linux fails at creating an tar file for a backup

So I want to make a backup of git. I am using this script to do this (here:https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/raketasks/backup_restore.md). But creating the tar file always fails ...
5
votes
1answer
3k views

Git - Error invalid path

I have been working for so long on a mac and have committed it looks like a file like this: C:/Csmart/files/companies/19/migration/CompanyDataEntry.xls This file does not exist in the repository. ...
0
votes
0answers
7 views

Git ambiguous command

I have been recieving fatal: ambiguous argument '|': unknown revision or path not in the working tree. while running the command diff --name-only master | xargs tar -zcf update.tar.gz as build ...
0
votes
0answers
3 views

Git crashing on WinSSHFS network drive

Due to bash dependencies in the project I work on it's running inside a virtual machine with the code mounted as a virtual drive using WinSSHFS. This works nicely, however for some reason git simply ...
-1
votes
1answer
14 views

Finding an old version of Git

I have just downloaded the .dmg file for the latest version of Git for my Mac with OS X 10.7.5. When I type: git --version I get: Illegal instruction: 4 This apparently means that my ...
0
votes
0answers
13 views

Error after installing Git

I have just downloaded Git for my OS X 10.7.5 When I type: which git I get: /usr/local/bin/git But when I type: git --version I get: Illegal instruction: 4 I'm looking for advice on how ...
0
votes
0answers
18 views

git clone segmentation fault 8237

Since shortly I have a problem with my git. The repo's I already have on my computer still works so I can still push and pull, etc ... But when I want to clone a new repo I always get things like this:...
0
votes
0answers
18 views

Git returns “dyld: Library not loaded: /usr/lib/libcurl.4.dylib” error on Mac OS X 10.6

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 ...
2
votes
3answers
796 views

Homebrew update error that local changes would be overwritten

I'm very new to homebrew and git. I've done changes to httpd24.rb formula which is in homebrew/apache tap. (Just added the --enable-so configuration argument in the existing formula file) Now when ...
1
vote
0answers
9 views

Fastest way to clone a github repo to computer without having to delete older versions, just update the changed files?

I'm using Github desktop but whenever I try to sync to get the updated files it tells me syncing would overwrite my uncommited changes (probably the config file) and either to commit or discard them. ...
0
votes
1answer
12 views

bash function - use . character as parameter

I am trying to create a personalized function to wrap git add. Since I'm not a bit fan of having to type git add a/long/path/to/some/file/that/has/changed.java I am trying to create some sort of ...
2
votes
1answer
146 views

Set-up GIT deployment on server running plesk

I have a lot of experience with Linux/Unix based systems. I've been setting up many GIT deployments, from my own administered dedicated stacks, shared hosts, Debian, CentOS, RHEL, OpenBSD. Yet one ...
5
votes
1answer
287 views

How can I get SVN to recognize Mac Bundles as ASCII instead of Binary Streams?

I have a keynote file in which I am regularly editing the text, moving slides around, etc. There are a max of a few kilobytes of data changed in the internal .key XML file. However, SVN recognizes ...
0
votes
0answers
34 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.
3
votes
2answers
3k 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'...
1
vote
0answers
7 views

Permissions in git when running redmine or other SCM next to gitolite

Can I run Gitolite next to SCMs like Redmine without it messing up my permissions defined in Gitolite?
3
votes
1answer
5k 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
2answers
23 views

Can't do proper git pull request

I'm new to GitHub and therefore I messed a lot with it, so I need some step-by-step help. Sorry for being annoying :/ Also, before I say anything, I'd have to clarify that I used only GitHub, because ...
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
1answer
34 views

What's the difference between gitcmd.exe and cmd.exe?

I use Windows and my question is: what's the difference between git-cmd.exe and cmd.exe? I tried to run some tools on both and git-cmd.exe seems better and seems a bit faster, why?
12
votes
3answers
3k views

Is it possible to have git gui / gitk look good on a retina Macbook Pro?

I really love git gui and gitk. They work very well for me and I know exactly how to use them. Sadly, they look really pixelated and ugly on my retina macbook. Since it's just text and chrome it would ...
140
votes
12answers
130k views

How do I ensure Git doesn't ask me for my GitHub username and password?

I am working with a repo on GitHub and everytime I try to push something, it asks for my GitHub username and password. I don't want it doing that. I tried the instructions on setting your email in ...
0
votes
1answer
1k 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
0answers
19 views

OS X 10.6: Cant unbundle VMWare software with git: does not look like a v2 bundle file [duplicate]

So I am using Mac OS X 10.6.8, I'm trying to download VMWare Player, there was no OS X specific bundle, only linux. I tried to unbundle the 32 bit linux with: jdd:VMWare Me$ git clone VMware-Player-6....
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:...
19
votes
5answers
4k views

How can I discard file change from fugitives status window?

When in the fugitive-plugin status window, accessed using :Gstatus, it's possible to diff changes for a file using D and toggle files for commit using -. Is there any similar shortcut for discarding ...
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 ...
82
votes
5answers
119k views

How to reset master to origin/master?

Can I do following in a simpler way? git checkout origin/master git branch -D master git branch master git checkout master
0
votes
0answers
42 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, ...
-1
votes
1answer
64 views

Red Hat command returns, “-bash: sudo: command not found” when running “sudo git”

I’m following a GoDaddy help tutorial in order to install “Let’s Encrypt” certificate for my website. So I connected to my server using SSH via PuTTy and when typing the first command: sudo git ...
0
votes
2answers
137 views

SSL certificate problem: self signed certificate in certificate chain

Behind a firewall, using chrome, I am able to access a github repository like so: https://github.com/Squirrel/Squirrel.Windows Chrome uses our certificate for this access. If I try to access the same ...
0
votes
2answers
47 views

Transfer git repositories by copying

I wanted to transfer many git repos from my old Windows 7 machine (git 2.6.3.windows.1) to the new one under Ubuntu 16.04 (git 2.7.4). Since not all of them had a remote repos I decided simply copy ...
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 ...
1
vote
1answer
24 views

Is it possible to have meld open all files at once when used with “git difftool”?

Meld is capable of loading many files at once (in tabs). However when used with git difftool, Git will ask if you want to view each file (which can be slow and annoying to have to keep opening and ...
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 ...
10
votes
3answers
5k views

vim not loading _vimrc file when launched from git bash

I have downloaded and installed git for windows (msysgit) and frequently used the included git bash. Whenever I run vim from git bash my _vimrc file is not loaded because there is syntax highlighting ...
0
votes
0answers
15 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' ...
1
vote
1answer
22 views

Github not verifying with OpenPGP key?

I generated a public/private key pair using GnuPG (following Github's instructions) and am getting the following error when trying to push my commit to a newly created repository: git push origin ...
2
votes
1answer
336 views

Skip username prompt when using git

Is there a way to skip the username prompt when I git pull? I read about skipping the entire authentification e.g. with the help of keys or ssh agents. However, I only want to send my username. Is ...
0
votes
1answer
17 views

Undo 'git push -f' from machine that doesn't have the cloned history

So, backstory. My hard drive died on machine A. Almost all of my work was already pushed to GitHub and all was dandy on that front, save one repository. So, upon realizing this, I found out, "hey, ...
0
votes
0answers
28 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
32 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 ...
1
vote
1answer
66 views

git clone fatal: 'origin' does not appear to be a git repository for VMware vmhgfs share

I'm getting this "fatal: 'origin' does not appear to be a git repository" error while doing git clone (go get) . $ git clone https://github.com/andybalholm/cascadia /path/to/Go/src/github.com/...
0
votes
1answer
24 views

share svn and git repo's between windows and linux

I dual boot my machine (Windows 7 and Ubuntu 16.04). If I were to assign a separate partition just to hold my software repositories, what's the best partition type to share the same git and svn ...
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 ...