github-for-windows

Clone Github repo to specific Windows folder?

牧云@^-^@ 提交于 2019-12-04 10:36:54
问题 How to change the cloning folder of a specific git? My default storage directory is here C:\Users\myPC\Documents\GitHub But for this one git https://github.com/username/myproject I want to put it in C:\somefolder (and not like C:\somefolder\myproject but all the files under C:\somefolder ) How to do that? I tried git clone command line but then the git doesn't show up in my Github for Windows client Sorry for basic question but couldn't google or search here any answer! 回答1: After you have

Github for windows - ssh-agent.exe using high CPU + 100% disk?

南笙酒味 提交于 2019-12-04 10:13:59
问题 I've just installed Github for Windows on my Windows 8.1 machine and it appears to work fine except that my machine performance drops down dramatically. Looking at task manager I see that ssh-agent.exe is using a constant 25% CPU (no doubt 100% of one of my cores) and the disk usage is at 100%. I have had a look on the Internet but can't find any reference to what might be causing this. Any ideas what might be causing this and how to resolve it? UPDATE: I can kill the process and GitHub for

Getting errors when using GitHub for Windows

这一生的挚爱 提交于 2019-12-04 01:07:17
问题 I suddenly got errors when I was using git last week, for no apparent reason. I only have access to a windows PC. The errors I'm getting doesn't seem to give me any clear answers as to what went wrong, how, and what I need to do to fix it. The error happened right after I cloned an empty repository, and I've been uninstalling and reinstalling GitHub for Windows ever since, I usually only use the Git Shell that comes installed with, but the GUI is also having problems doing anything beyond

Rollback uncommitted changes in GitHub Desktop (or Github for Windows)

主宰稳场 提交于 2019-12-04 00:13:40
I'm using Github Desktop (previously called GitHub for Windows ) and I made a bunch of changes to my local files. It became such a mess that I decided I just want to rollback my local files to where they were the last time I made a commit. I haven't committed the new changes - I just want to get rid of them. How can I do this? Mark Cramer When you open GitHub for Windows v2.0 (ancestor of GitHub Desktop ) and select your repository in the leftmost column, you'll see all your previous commits in the 2nd column from the left. If you select one of those commits, in the right column at the top you

Fatal Error : Can't resolve host github.com

烈酒焚心 提交于 2019-12-03 22:59:07
I am trying to push files to my remote repository from my local repository and I see this fatal error : fatal: unable to access ' https://github.com/vinivasundharan/abcd.git/ ': Couldn't resolve host 'github.com' My computer is not using any Proxy because I have seen methods to resolve the issue when Proxy is being used. I have tried the solutions from this and this . But both doesn't seem to help. My system has an active internet connection using Windows 7. UPDATE git config -l returns the following. I had to post it because I do not what exaclty this means core.symlinks=false core.autocrlf

Setting diffmerge as visual Git difftool not working

旧城冷巷雨未停 提交于 2019-12-03 20:13:06
I am trying to configure DiffMerge as my difftool in Git but having no luck. This is the revelent section of my .gitconfig file (the other settings not shown are just for the user). [diff] tool = diffmerge [difftool "diffmerge"] cmd = \"C:\\Program Files\\SourceGear\\Common\\DiffMerge\\sgdm.exe\" \"$LOCAL\" \"$REMOTE\" Whenever I call git difftool from the powershell command line the conflicts are shown directly beneath in the powershell interface, not in diffmerge as intended. I know the settings are being picked up by git because when I inspect the global config I am given the settings from

Sync Branch and staying up to date with a project using GitHub for Windows

假如想象 提交于 2019-12-03 17:05:01
问题 What do I need to do in the GitHub for Windows app to stay up to date with changes made to a project or repository hosted on GitHub? I will most likely not be editing, but do want to stay aware of and incorporate the changes that are made to the project. When I clone in desktop, using the GitHub for Windows GUI, one of the options I have is "Sync Branch", which is defined as "sharing your local commits on the server and pulling down changes from others". With whom am I sharing my local

On conflict, GitHub for Windows puts me in “rebasing” state, how to go from there?

佐手、 提交于 2019-12-03 16:33:49
问题 I recently started using GitHub for Windows. I just got a conflict. On command line I would know how to handle this, but GitHub for Windows choosed to put me in a state I am not familiar with: C:\Users\w\Documents\GitHub\CmisSync [(6026d18...)|REBASE +0 ~1 -0 !1 | +0 ~0 -0 !1]> git status # Not currently on any branch. # You are currently rebasing. # (fix conflicts and then run "git rebase --continue") # (use "git rebase --skip" to skip this patch) # (use "git rebase --abort" to check out the

Cloning Multiple Branches in GitHub for Windows

做~自己de王妃 提交于 2019-12-03 12:44:52
问题 I sometimes need to have two different branches of a GitHub repo on my local disk at the same time. (especially when dealing with gh-pages) I usually do this by making multiple clones of the repo in different folder, with clone using a different branch. Is it possible to do this in the GitHub for Windows UI? (as opposed to switching a single local clone from one branch to another) It looks like the only way to switch between local clones is to drag the new clone into the UI every time. 回答1: I

Line endings with cygwin and Github for Windows

≯℡__Kan透↙ 提交于 2019-12-03 12:31:21
I'm want to be able to work on my git projects using both the Github for Windows application as well as git in the command line using Cygwin (on Windows). But I keep on getting problems with the line endings when I switch from one to the other. If with the command line tool the repo has no changes, it will want to modify all the files with the Github app. If I do the changes with the Github app it will then again want to change it with the command line tool. After a fair amount of testing I couldn't make it work for both tools. What would make it work? In the .gitatributes I currently have set