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
votes
0answers
10 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
11 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
15 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:...
1
vote
0answers
8 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
0answers
12 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 ...
0
votes
1answer
10 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 ...
0
votes
0answers
32 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.
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?
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?
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
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, ...
-1
votes
1answer
59 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
118 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
22 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 ...
0
votes
0answers
14 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
30 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
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
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
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 ...
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 ...
1
vote
0answers
15 views

Change location of .gitconfig in Visual Studio

Visual Studio 2015 has Git integration, but it picks up a .gitconfig file used in my Cygwin install that has some problems (for one thing, it is a symlink, but even it if was a normal file it would ...
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, ...
1
vote
1answer
33 views

Switching on / off X11 forwarding for remote firefox / git

I'm using Ubuntu16 inside a Docker image on top of CentOS6 in order to be able to run certain desktop apps that doesn't run on top of CentOS6. As an example, to run the Dartium browser, I do: ssh -X ...
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
22 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
1answer
40 views

Repo-wide configuration of git

How can i make a persistent git-config file for the whole repository? I know, that there is a system wide, a user and a repository configuration. What i want is a configuration wich is automatically ...
0
votes
1answer
10 views

Rebasing in Git (Fetch and then..?)

I have been working locally on a new computer to which I transferred all data from my old computer via external drive. I decided to try to rebase my work with what I have already on my server. First ...
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
1answer
12 views

cloned repo with same name as a local folder and it deleted everything inside

Hi there I cloned a repo with the name COMP to documents in my mac with and I forgot there was a folder called COMP there also. I didn't read the warning properly and now all the things that were ...
0
votes
0answers
46 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 ...
1
vote
1answer
63 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/...
1
vote
0answers
15 views

Git push and pull with remote Respository [closed]

So, I'm working on this project, but I'm currently stuck ... I work on a Linux Server and have to push/pull from a remote windows server. But nothing seems to work. What could I do? Which commands ...
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
1answer
14 views

How can I get a Git repo to push/pull when the Git server is behind a firewall?

My work place currently has a gitlab server behind their corporate firewall and currently their public dev sites are facing the internet. I can access the gitlab server only when I'm on their vpn. I ...
1
vote
1answer
39 views

Piping credentails to git push

Whenever I execute git push, I have to type my username and password at the prompt manually. However, I want to automate this process. So, I tried to pass the credentials to the command using ...
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 ...
2
votes
1answer
200 views

GIT from source: fatal: Unable to find remote helper for 'https'

Due to me not having root rights, I compiled git from source locally. My distro is OpenSUSE 13.1. Googling the error fatal: Unable to find remote helper for 'https' It was suggested that curl is not ...
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 ...