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

Eclipse egit can't push

Ok, I have a very strange issue. I'm using: Linux Eclipse Mars OpenVPN Private Git repository on Stash. I'm connected to stash via ssh. Both private and public keys are generated, registered on ...
2
votes
1answer
477 views

How to install magit on emacs <24.4

I am using emacs version <24.4, and since I don't have root permissions on the system, I can't upgrade to a newer version. While trying to install magit, I get the following error: Package ...
0
votes
1answer
93 views

Groups and subgroups of multiple git repositories?

Currently, I have a few SVN Repositories, and it looks like this: Customer1 (this is a proper "SVN Repository") project1 foo82 trunk tags branches ...
0
votes
1answer
117 views

Errors installing Drywall

I am trying to install drywall and I am getting many errors C:\Users\zach\Desktop\Node.js\drywall\node_modules\bcrypt>if not defined npm_con fig_node_gyp (node "C:\Program ...
0
votes
1answer
36 views

How to find GIT on a Macbook Pro 5 ver 10.6.8

I have downloaded and installed GIT on my Macbook, but I cannot find it in order to run it. (I am complete beginner with GIT and am using it for an assignment). I have gone to the terminal and typed ...
0
votes
2answers
804 views

Is the option “Use Git and optional Unix tools from the Windows Command Prompt” dangerous?

When installing Git, it offers the option to add all of its msys *nix tools into your PATH, however it warns: Warning: This will override Windows tools like "find" and "sort". Only use this option ...
0
votes
0answers
36 views

Which refreshPattern do I have to use to cache git clone results via HTTPS?

I setup a HTTPS intercepting caching proxy using squid 4.0.1 on Ubuntu 15.10 and SSL Bumping following http://wiki.squid-cache.org/ConfigExamples/Intercept/SslBumpExplicit. Now, specifying ...
3
votes
1answer
536 views

Git clone: error: chmod on <ntfs mount> failed: Operation not permitted

I'm dual booting fedora/windows 7, and so I have a common storage place between them I've made a small fat partition, mounted from /etc/fstab: UUID=C37A-2B35 /transfer vfat users,umask=000 1 3 I'm ...
1
vote
1answer
377 views

git add ignored files from within Github Desktop

I would like to add a file that matches .gitignore therefore does not show up in Github Desktop. Normally, git add -f ignoredFile will do it, but I would like to do it from within Github Desktop. Any ...
38
votes
5answers
4k views

Mark file as “uncommitable” with Git

I want to show off some of my work by uploading them to my GitHub account. However, there are some files that contain passwords, like database connections. Is there a way of marking a file as ...
0
votes
1answer
234 views

bash: Is a directory error

So I encounter this "bash: Is a directory" error while trying to run the following command on my Arch Linux VirtualBox. GNU bash version 4.3.30(1). /home/minix git clone git://git.minix3.org/minix ...
1
vote
2answers
93 views

Cannot ssh to VPN using Command Prompt or putty, can from PHPStorm & Git Bash?

So, I'm trying to connect to a VPN I own using my forge user. I can ssh through Git Bash and PHPStorm's Database Connection tool, yet I cannot from Command Prompt or putty. If I try to run this from ...
0
votes
0answers
8 views

How to stop continual launching of app?

I'm using Tower for Git. On a commit, I clicked "Difftool". This launches my merge program (P4Merge). It launches it for every file that needs to be diffed, one at a time. So every time I close ...
1
vote
4answers
3k views

how to avoid being asked “Enter passphrase for key ” when I'm doing ssh operation on a remote host?

I'm ssh into a remote host (linux, fedora) and I want to do ssh operation(git with bitbucket) there. There is ssh-agent running on that machine, $ ps -e|grep sh-agent 2203 ? 00:00:00 ...
0
votes
1answer
12 views

Remove a Git error message

I am writing a small git terminal script. everything is finished but i have a error. When theres no git dir, i can't seem to pipe the error to dev null. git status --porcelain --branch | grep -Eo ...
0
votes
0answers
73 views

How to run git pull command non-interactively?

I've the following find command which scans all previously cloned git repositories and pull them again: find $PWD -name .git -type d -print -execdir git pull -qv ';' The problem is that some of the ...
0
votes
0answers
95 views

Push to Git via another machine

Here's the scenario: I have my office PC where I use git and github to manage source VC. When I get home, I realise I forgot to push my latest commits; but I can ssh into my work machine from my ...
2
votes
1answer
122 views

Zsh / git: Tab autocomplete not working if “HEAD^” is next to last word on input row

Problem I have the following git reset HEAD^ half_entered_file_n<Tab> At this point I would like the half_entered_file_name.txt to be Tab-completed. My own investigation I can get Tab ...
0
votes
1answer
123 views

Tuleap git plugin

I just installed Tuleap version 8.7.99.12. on CentOS 6.7. My git version on CentOS is 1.7.12.4. In Tuleap Admin panel I installed Git Plugin 4.89 and enabled it! In my project admin section I choose ...
1
vote
1answer
504 views

Editor for 'git bash' on Windows (editor for mingw/msys+mintty)?

I am using 'git bash' for Windows (from 'git for Windows') which in turn consists of mingw+msys and a mintty. This mingw installation contains a 'vi' editor which works in the mintty. Good. ...
1
vote
1answer
64 views

How to make the latest Git commit become remote Head

New to Git and it was suddenly foisted on me from a simple TortoiseSVN. I'm not sure if a need to do a rebase or what but I have a previous commit in a remote repository that may be the HEAD (not ...
0
votes
1answer
61 views

How to access windows administrative share from mingw shell?

I am using a mingw shell that comes with github by default, I've been accessing my server's administrative share by: \\myserver\c$\path\to\dir Is there a way to access it from mingw shell without ...
0
votes
0answers
16 views

Recover old Gitorious projects?

I want to recover my gitorious projects and not sure where can I retrieve them or even list the projects I had under that server. If you know any static file would be good to know.
0
votes
0answers
60 views

yeoman gulp-bootstrap not installing properly

I will try to give as much information as possible on my problem, however part of the problem is that it prevents me from seeing everything that went wrong. First of all, when I installed ...
0
votes
1answer
54 views

My application runs as sudo, how do I make it git pull using my user's credentials?

I run my application as sudo but I need it to use a git pull based on the information in ~/.gitconfig and ~/.netrc files my current user has. How do I do this without putting my credentials in the ...
0
votes
1answer
30 views

Which risks after a chown on /usr/local/

First of all sorry for my english I'm french. I was trying to install rvm on OS X El Capitan, and an error stopped the installation, said me to check that brew update run correctly and surprise, it ...
0
votes
1answer
31 views

Using multiple ssh keys with Github, with one being default

I want to configure my SSH client to work with different keys when pushing to GitHub, with one key being the "default". I thought that putting this into .ssh/config will give me what I need: Host ...
1
vote
1answer
62 views

Git: show inline diff within context of full file

How can I view the full contents of a file, at a given revision, with 'inline' diffs; i.e. new lines prefixed with plus, lines that were removed prefixed with a minus, etc?
0
votes
0answers
81 views

OpenSSH Windows 7 Public Key Authentication

I installed OpenSSH on a Windows 7 machine as LOCAL_SYSTEM account as the option and also allowed key size of 2048. I am able to connect using Windows login however when i implement Public key ...
0
votes
1answer
52 views

Git autocomplete on oh-my-zsh not finding branch names

Somehow last week my git autocompletion on Oh-my-zsh, on my iterm app on mac started behaving strangely. if I type git checkout and then I used to get autocompletion on the branch names, so I was ...
0
votes
0answers
57 views

Git related Issue with Terminal commands on my Mac OS X 10.10 (Yosemite)

My question follows a previously answered question in this forum. But I have an even stranger problem. The same screenshot about Git command requiring Xcode installation is appearing on my Mac OS X ...
0
votes
1answer
173 views

vimdiff in Git for Windows gives E810 and E97

I'm using Git for Windows (git version 2.5.3.windows.1) and I've set up vimdiff as my mergetool. Running git mergetool from git bash results in the following error: E810: Cannot read or write temp ...
2
votes
3answers
590 views

Is it safe to store (encrypted) passwords on GitHub?

I am using pass to handle all my passwords. They are encrypted using GPG with a 4096 bits key, using the SHA256 algorithm. I am using a different password for every login in my password store. One of ...
2
votes
0answers
117 views

How to print absolute paths with git grep

I use the following grepcode command to recursively search a large number of git repositories. It prints the path of found files relative to the repository root, how can I print the absolute path of ...
0
votes
0answers
46 views

Why doesn't WinMerge filer .git folders although the FileFilter is in effect?

When comparing git repo clones, I am annoyed by the appearance of the .git folder and its contents in the directory compare tab. In teh Tools -> Filters... dialog, I have the Exclude Source Control ...
12
votes
2answers
6k views

git on command line no longer works on El Capitan

Having just installed OS X 10.11 last night, I was surprised to see that my Bash terminal did the following: $ git xcode-select: note: no developer tools were found at '/Applications/Xcode.app', ...
0
votes
2answers
238 views

TortoiseGit: Moving files to new folder not recognized as move

I'm trying to move some files in my repository to a new folder. I want git / TortoiseGit to recognize that this is a move instead of a delete and multiple adds. How can I make this work? I checked the ...
0
votes
0answers
30 views

git export part of bare repository?

I'd like to perform a partial "export" (only one subdirectory) of a bare repo. I've tried some solutions in the answers to Checkout Git files to a location outside the repository, however none seemed ...
1
vote
0answers
39 views

Can't push to git on local server (public key) auth and then disconnect

I recently setup a local test server with Gitlab following this guide https://www.digitalocean.com/community/tutorials/how-to-set-up-gitlab-as-your-very-own-private-github-clone I am trying to make ...
0
votes
0answers
65 views

Git for Windows - where is default commit message template stored?

When I run Git with this command line: git commit -a I get an initial commit message like this: # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and ...
0
votes
0answers
124 views

Jenkins User Credentials Not Showing In Project

So I have Jenkins-CI running with the Credentials, Credentials Binding, and Git plugins, and first what I did in order to authenticate Git with the remote repository, is I added credentials to the ...
2
votes
0answers
258 views

HTTP server doesn't seem to support byte ranges. Cannot resume. homestead up

When I used the command "homestead up" it stopped working at 45% so I closed it and restarted my computer. Now when I try to run the command homestead up, my computer says resuming download then I get ...
0
votes
0answers
14 views

File permissions resetting with git pull

On Linux, whenever I perform a git pull on a directory, all of the files lose their permissions that I have set for them. How do I keep this from happening?
0
votes
0answers
20 views

Linux computer gerrit connection problems

I have searched and searched and can't find a related answer. Ok, here is my problem. I'm running Xubuntu 15.04. Have been building android for several month. Recently got into using gerrit to ...
0
votes
0answers
19 views

git merge only unconflicting commits

The idea is to merge branch B into branch A, but only merging commits which would not conflict in the process (of course this might make other commits 'become conflicting' too as they depend on a ...
0
votes
0answers
132 views

Vagrant VM is starting but ansible doesnt process anything

I have such Vagrantfile: # -*- mode: ruby -*- # vi: set ft=ruby : VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.box = "ubuntu/trusty64" ...
0
votes
1answer
119 views

Delivering a payload to a URL, using cURL

I need help figuring out the cURL request required to send the following data to a URL. {"requestid":"555555", "partnermatchid":"10000-000-0000-0000-000", ...
0
votes
0answers
137 views

Nginx and git-http-backend - 405 error

I'm trying to configure git-http-backend over nginx, but without success. My configuration is: mkdir -p /var/git/repo1 cd /var/git/repo1 git init --bare git update-server-info chown -R nginx:nginx ...
-2
votes
3answers
76 views

How to backup and recover homebrew and all formulas after complete reinstallation of OSX?

I've just started to learn git and wondering if there is a good way to use git for recovering homebrew and all formulas after the complete reinsallation (instead of installing homebrew and all ...
1
vote
0answers
52 views

How do I pull changed file names from a git commit and put them as variables in an ftp upload command

I need to ftp files on a regular basis, even though I still use git to update a code base. So, the workflow is I do my git work and then use Cyberduck to connect and ftp the same files to basically a ...