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

How can I make a set of commits the children of another commit in git?

I have a repo I inherited, it was created by downloading a zip of code from github not cloned, and almost all changes were made before the first commit. I found which commit it was created at (I ...
0
votes
0answers
52 views

Powershell possible to give input to underlying script

I am sorry I could not think of a better title. My problem is I have a PowerShell script which calls a git command (git credential-wincred store) to store credentials to connect to a git repository. ...
0
votes
0answers
11 views

Github Won't Open [duplicate]

Similar to this issue: Github for windows not working after install When I install the Github desktop on Windows 7, it opens briefly in the task manager and shuts down. I have re-installed numerous ...
0
votes
1answer
152 views

Telling rm command to exclude a subfolder named 'graphs'

I'm quite ignorant when it comes to linux commands. I found this line in a post-receive setting in my git production hook. find /home/app/myapp.com/app/tmp/cache -type f -exec rm {} \; Inside that /...
0
votes
1answer
117 views

How to define installation directory for Github for windows?

Github for Windows is a "one-click install" thing. There is a problem with it: there are no setup options. It only installs in %appData%\Local\ under \GitHub, \Apps\2.0\YYZRRD9X.HWG\RVTJXJ3M.LBH\...
0
votes
1answer
223 views

How can I change the directory that ssh-keygen outputs to?

I want to run a command like: ssh-keygen -t rsa -b 4096 -C "your_email@example.com" My understanding is that ssh-keygen outputs to the home directory. I'm working on a networked computer using Git ...
0
votes
0answers
16 views

registering an application in the Registry/../AppPath WITH flags

What I would like to do is to have Git Bash open through Visual Basic Process.Start() with the --login -i flags already set. To do this, I realized I need to have the shell file added to the registry ...
1
vote
1answer
102 views

How to efficiently exclude .svn and .git folders in Windows 10 indexing?

I have 2 big folders "Projects" and "Studies" with lots of SVN and some GIT projects inside. I had to disable indexing for them entirely, because, due to the sheer amount of files in .svn and .git ...
0
votes
1answer
349 views

js, and css not appearing after installing gitlab

I have gitlab installed on port 8088 on top of an existing apache on CentOS 6.5 and I used this tutorial https://about.gitlab.com/downloads/#centos6 Because I also use apache on this server, I ...
0
votes
1answer
55 views

Trying to get git's core.pager to work on both mingw and cygwin

I am trying to get git for Windows working identically in the mingw bash that comes with git for Windows and in my cygwin terminal. Right now, I cannot get the core.pager (which determines whether a ...
0
votes
0answers
45 views

Private key says passphrase is wrong when it is 100% correct

I am using a private key with the passPharse of j I have set this to test as its driving me crazy. I am attempting to bitbucket, I have added the public key to their site. I have added my ppk to ...
0
votes
0answers
239 views

Error when extracting tar.gz file which contains symbolic link inside

I tried to compress the Repo folder (AOSP) into tar.gz.Source folder has many git folders and Symbolic links.It compressed without any error.But when i tried to decompress it using tar command it is ...
0
votes
0answers
30 views

What do I do about gedit “modifying” files without modifying them?

I have started using git via bash command line in combination with gedit to work on some stuff. My OS is Xubuntu 15.04. I have noticed something peculiar. Assume that I have gone through some files, ...
-1
votes
1answer
20 views

spawn new instance of msysgit in the same working directory

I am trying to spawn a new instance of msysgit - the git bash shell for windows. I've noticed that the following command is executed when you start from the Start menu: "C:\Program Files\Git\bin\sh....
2
votes
1answer
144 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 ...
7
votes
1answer
2k views

Can I somehow display git file statuses in sidebar in Sublime Text 3?

I've seen this cool feature in Atom, where in bottom left corner Git status is displayer (like which branch, how many files changed etc) and in the sidebar files that are created but not added and ...
0
votes
0answers
59 views

Setting up Eclim with Git Bash Windows 7

So I followed the instructions to get Eclim working on command prompt and it works, I can use the command :PingEclim and it gives me the relevant information when im running eclimd.bat. So all is ...
0
votes
1answer
106 views

How to log sessions with ssh.exe, similar to how PuTTY does full session logging

I have installed Git for Windows and I use the built-in SSH client (OpenSSH 6.6.1p1) in ConEmu for tabbed SSH sessions. It works very well, but I would like to have full session logging, like what is ...
1
vote
1answer
53 views

git asking for HTTPS username/pass even though remote is ssh

I've tried all solutions to this that I've come across but none of them appear applicable. My remote is definitely, 100% ssh: r ssh://ubuntu@r/home/ubuntu/r (fetch) r ssh://ubuntu@r/...
0
votes
2answers
161 views

How do you setup npm to install from a GitHub repository that uses Git LFS?

When I run npm install --save git+ssh://git@github.com:bmahsman/bubblegum.git, npm checks out the text files that git lfs puts in place of the actual assets. It appears npm isn't using my local user ...
0
votes
0answers
98 views

How to cache text/event-stream data in squid 4.x?

I would like to cache data transferred by git clone via HTTPS which seems to be of type text/event-stream. The cacheing either fails with TCP_CLIENT_REFRESH_MISS/200 or TCP_MISS_ABORTED/200 according ...
1
vote
0answers
30 views

Git: Push a tag to a new remote branch in 1 command

Git push accepts a source and destination refspec as part of the push operation, but I can not seem to push a local tag as a new remote branch in a single command. I am aware I could checkout the tag ...
0
votes
1answer
186 views

How to make `git log` show colors correctly in MobaXterm?

I tried git config --global color.ui auto, but it made no difference—the git log output is still full of [[32m, [[m, etc. How can I make git log (and any other commands with color output) show up ...
0
votes
1answer
111 views

Install Drywall Authentication

C:\Users\zach\drywall>npm install > bcrypt@0.8.5 install C:\Users\zach\drywall\node_modules\bcrypt > node-gyp rebuild C:\Users\zach\drywall\node_modules\bcrypt>if not defined ...
0
votes
0answers
168 views

Problems downloading .NET Framework 2.0 SDK

I have been getting this error when i try to install Drywall: C:\Users\zach\drywall\node_modules\bcrypt>if not defined npm_config_node_gyp (node "C:\ProgramFiles\nodejs\node_modules\npm\bin\...
1
vote
0answers
36 views

How to properly match newline with zsh regex?

for my prompt i am trying to parse the current git branch out of the resulting text of the git status command. For example, it returns: On branch master nothing to commit, working directory clean ...
1
vote
2answers
349 views

OpenSSH offering wrong public key

I like to work with some personal Github repos from my work computer (Windows 7) occasionally so after spending way more time than I bargained for learning about how SSH works I created a different ...
0
votes
0answers
224 views

Git for Windows has stopped working

For the last few days, every time I start editing in Phpstorm IDE, it hangs and entire machine becomes slow and this error pops up. Git for Windows has stopped working Problem Event Name: ...
1
vote
1answer
258 views

How to remove GIT_SSH environment variable on Windows?

I installed MSysGit with setting plink as SSH client. I want unset it. I reinstalled MSysGit with OpenSSH. I still see plink set in GIT_SSH. $ echo ${GIT_SSH} D:\prog\plink.exe Because: I don't ...
0
votes
0answers
103 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
575 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 `emacs-...
0
votes
1answer
113 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
125 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 Files\nodejs\...
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 "...
1
vote
2answers
1k 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
56 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
683 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
541 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
271 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
101 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
5k 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 ssh-...
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
92 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
118 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
129 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
139 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
652 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. Question:...
1
vote
1answer
67 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 ...