I have installed Github client tools on my windows machine. If I try to use git from the git shell it works fine. However, if I try to use it from the windows command line, it fails: c:\git\test>git clone firstname.lastname@example.org:myusername/myrepo.git Cloning into ‘myrepo’… Permission denied (publickey). fatal: Could not read from remote repository. Please make […]
I use git bash locally working with multiple remote bare repositories (ssh with public key auth). Every day, I am having to re-install git if I want to work with my remote repositories. What happens: When I do git pull, fetch, push, or anything relating to a remote, I get a “fatal: Not a git […]
I’ve got a repository. When downloading this repo, instead of cloning it, it seems that I accidentally simply downloaded the source instead. Now I’ve come to commit my changes and noticed that the folder I’m working in is, in fact, not a repository at all but just some random folder. I’ve found various ways of […]
You’d think this would be as simple as heading into Programs and Features and removing it like anything else, but it isn’t. Since it wasn’t listed there, I deleted “Git” folders from both Program Files and Program Files (x86). However, after doing so and clearing my recycle bin, using “git –version” in a command prompt […]
I have a laptop that has Direct Access enabled . I am using Windows 7 . The version of git client is D:\projects\directaccess>git –version git version 1.8.0.msysgit.0 The git server I am running is gitLab 7.0 When I am inside the corporate network everything works fine . When I am outside the corporate network I […]
We have an in-house TFS 2013 update 4 on Windows Server 2008 R2 Standard (TFS server), with Git version 2.5.0.windows.1. Our TFS build process uses InvokeProcess activity to call Git from a batch file. These are the calls to git we make from the batch file (in two lines for debugging purposes): call git submodule […]
I use Git for Windows. Here I wrote about the git config -f … problem. But I get the same problem for other commands too: $ git init –bare //hyprostr/dfs/groups/developers/src/GitCribs Rename from ‘//hyprostr/dfs/groups/developers/src/GitCribs/config.lock’ to ‘//hyprostr/dfs/groups/developers/src/GitCribs/config’ failed. Should I try again? (y/n) Pressing y or n key doesn’t help. Anybody know how to solve this problem?
So, I have written a simple git-hooks for pre-push which works just fine on Linux or Mac, but doesn’t work on Windows. Script: Tries to match the commit message with a regular expression, and should return 0 if matches or else exit. Based on the articles I read, they say that the hook should just […]
I have got following path that I need to exlcude to commit with Git C:\Projects\GitHub\MyProjects\TED\SourceCode\Presentation\REXI.Web\obj Everything is under C:\Projects\GitHub\ is cloned Git repository. And at the same folder I have got .gitignore C:\Projects\GitHub\.gitignore So which pattern I have to use to exclude obj folder? Thank you!
I have a git repository on a Linux server and I want to clone it on Windows. I have git for Windows installed and I prefer using it with the command line. I use SSH with a public key to connect to my Linux server and I have my keys generated and ready to use, […]