Tag: windows

Touch all files in a git repo so git thinks they are changes (Window)

I need ‘touch’ (I think) all files in my git repo (lots of files) so that running git status will have them as modified (and then I can add and commit them). I need to do this because our in-house tool uses the files from a git commit to generate a report … which I’ve […]

Cannot find file to delete via git bash, but it shows up in file explorer

I started to learn git yesterday, and I made a mistake when I created ssh key as the first image shows. I tried .bat delete way and dos del command, still cannot delete file named cd .. The prompt said cannot find file. The attribute of file size is 0 byte. How to delete this […]

Can't use git: “git fatal: unknown error occurred while reading the configuration files”

I can’t use any git commands, they all result in the following error: fatal: unknown error occurred while reading the configuration files Git was working fine up until I replaced my hard drive. I created a windows 10 system image and restored it on my new hard drive, and then combined the un-allocated disc space […]

How do I configure TortoiseGit to use Meld for diff, merge and conflicts?

I have tried a naive configuration to replace the native TortoiseGit viewers with Meld for Windows for diff, merge and conflict actions. What additional parameters do I need to pass in to Meld for these functions?

How to fix a git tracked file that is treated as untracked?

Symptoms I have a strange issue where I want to checkout a different branch <branch2>, but when I try I get the message that $ git checkout <branch2> error: The following untracked working tree files would be overwritten by checkout: <filename.xlsx> Please move or remove them before you switch branches. Aborting However git ls-files lists […]

Git Bash hangs on CTRL + I

When I am running Git Bash, I occasionally accidentally press CTRL+I and this freezes up the terminal for quite a long time, before releasing. I have tried CTRL+D, CTRL+Q, CTRL+C thereafter, but to no avail. My only options at present are to simply wait or to forcefully close the Git Bash window. Neither of which […]

Git push not working but “git clone” and SSH does

I set up a Debian server that uses SSH for shell access and git repos. I created a bare repo on it and using ssh was able to clone it to my Windows 8 workstation, however when trying to push changes back to the Debian server I get the error depicted here: Read from remote […]

Git remote end hung up unexpectedly

I am trying to set up a git repo on my test server when I try to push from my windows computer git push ssh://git@server.com:/path/.git I get the error fatal: The remote end hung up unexpectedly But when I ssh’d into my server and tried to do the the exact same command it worked just […]

Impossible to install atom-beautify on Windows 7 64bit machine with apm

I’m trying to install atom-beautify plugin to GitHub Atom editor with apm but still getting this error: npm ERR! git fetch -a origin (https://github.com/Benvie/harmony-collections.git) fatal: Unable to find remote helper for ‘https’ npm WARN `git config –get remote.origin.url` returned wrong result (git://github.com/ariya/esprima.git) npm ERR! git clone git://github.com/ariya/esprima.git Cloning into bare repository ‘C:\Users\pc00120\.atom\.node-gyp\.atom\.apm\_git-remotes\git-github-com-ariya-esprima-git-9077e517’… npm ERR! git […]

Permission denied to connect to Amazon EC2 using SSH at Windows 8

I’m starting using Amazon EC2 service. I have installed an Amazon Linux instance, set the PEM file, opened the SSH ports and installed a GIT service. My local environment it’s Windows 8. Through putty and WinSCP I can connect without problems. I have followed the docs and converted my PEM file to a PPK and […]

Git Baby is a git and github fan, let's start git clone.