标签: github-for-windows

Github for windows - 使用高CPU + 100%磁盘的ssh-agent.exe?

我刚刚在我的Windows 8.1机器上安装了Github for Windows,它似乎运行正常,只是我的机器性能急剧下降.

看看任务管理器,我看到ssh-agent.exe使用的是25%的CPU(毫无疑问是我的一个内核的100%),磁盘使用率为100%.

我在互联网上看过,但找不到任何可能导致这种情况的参考.

可能导致此问题以及如何解决问题的任何想法?

更新:

我可以杀死进程并且GitHub for Windows似乎继续工作但是ssh-agent.exe只要我关闭并重新启动Github for Windows,该进程就会再次启动.

github github-for-windows

29
推荐指数
2
解决办法
6062
查看次数

在windows上的git bash中设置ls的颜色

我最近安装了GitHub for Windows并且正在使用git bash提示符 - 现在困扰我的一件事是当我输入LS时所有目录都以蓝色列出.

如何更改我的git bash shell,以便在输入LS时,目录以不同的颜色列为蓝色?

mingw32 github-for-windows

28
推荐指数
2
解决办法
3万
查看次数

安装GitHub for Windows

我正在尝试为Windows安装GitHub.我尝试以正常方式安装它并得到此错误:

Application installation did not succeed. Cannot locate application files on the server. Contact the application vendor or your administrator for assistance.

点击Details...给了我这个:

PLATFORM VERSION INFO
    Windows             : 6.1.7601.65536 (Win32NT)
    Common Language Runtime     : 4.0.30319.18034
    System.Deployment.dll       : 4.0.30319.17929 built by: FX45RTMREL
    clr.dll             : 4.0.30319.18034 built by: FX45RTMGDR
    dfdll.dll           : 4.0.30319.17929 built by: FX45RTMREL
    dfshim.dll          : 4.0.41209.0 (Main.041209-0000)

SOURCES
    Deployment url          : http://github-windows.s3.amazonaws.com/GitHub.application
                        Server      : AmazonS3
    Application url         : http://github-windows.s3.amazonaws.com/Application%20Files/GitHub_1_0_47_0/GitHub.exe.manifest
                        Server      : AmazonS3

IDENTITIES
    Deployment Identity     : GitHub.application, Version=1.0.47.0, …
Run Code Online (Sandbox Code Playgroud)

windows-7-x64 github-for-windows

27
推荐指数
3
解决办法
2万
查看次数

找不到Git命令.请创建别名或将其添加到PATH

更新github后,我得到了这些WARNING.

无法找到git命令.请创建别名或将其添加到PATH.

警告:找不到ssh-agent.

当我尝试任何时commands,我收到错误消息.

经过搜索,我发现其他人也面临着类似的问题.这是链接.但他们建议重新安装github.

有没有其他解决方案期望重新安装github?

git github github-for-windows

26
推荐指数
1
解决办法
3万
查看次数

在Windows上git:"错误:稀疏结帐在工作目录中没有任何条目"

我有错误:

“error: Sparse checkout leaves no entry on the working directory”
Run Code Online (Sandbox Code Playgroud)

当试图在Windows上的git中设置稀疏结账时.在研究了这个问题并找到了完整的答案后,我已经回答了我自己的问题.

windows git powershell github-for-windows

26
推荐指数
1
解决办法
1万
查看次数

Git在提交之前比较文件

在git中是否有一个功能,我可以在提交更改之前将我的本地文件与git源代码控件进行比较?

git github github-for-windows

25
推荐指数
2
解决办法
4万
查看次数

如何从自定义shell使用GitHub for Windows附带的posh-git?

安装GitHub for Windows是一个很好的方式来获得初学者的git Windows应用程序,msysgit和posh-git - 但是你只能通过调用"GitHub.appref-ms --open-shell"来启动带有posh-git的git shell.

我想要做的是启动一个控制台,加载PowerShell,并使用Gi​​thub for Windows附带的posh-git - 但我无法想办法将它加载到PowerShell中.

更新:我不想单独安装Git for Windows,因为已经安装了msysgit.

通过从AppData\Local\Github文件夹调用shell1.ps1脚本,我能够取得一些进展 - 它让我调用git.但它没有显示我所在的分支,与GitHub for Windows中的"Git Shell"相反.

powershell posh-git github-for-windows

23
推荐指数
2
解决办法
1万
查看次数

如何在Windows的github中删除未同步的提交?

我有两个使用GitHub(Windows)的未同步提交,但现在不想提交它们.我怎样才能还原或丢弃它们?

截图

github github-for-windows

22
推荐指数
3
解决办法
3万
查看次数

Git - 致命:远程来源已经存在

我无法使用remote命令远程创建原点:

$ git remote add origin https://github.com/LongKnight/git-basics.git
fatal: remote origin already exists.
Run Code Online (Sandbox Code Playgroud)

为了解决这个错误,我试过这个:

$ git remote -v origin
$ git remote -v show origin
Run Code Online (Sandbox Code Playgroud)

它不是将文件从我的本地存储库上传到远程:

$ git push -u origin master
fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.
Run Code Online (Sandbox Code Playgroud)

每个存储库都有自己的来源吗?


解决方案:我正在使用Github或Git Shell附带的Powershell,因为它也被称为执行我的教程,一旦我切换到Git Bash它工作正常.

git github github-for-windows

22
推荐指数
1
解决办法
3万
查看次数

如何在 GitHub Desktop 中使用 SSH 遥控器?

我在 Windows 10 上使用 GitHub Desktop。我最初使用其 HTTPS URL 克隆了一个存储库,但现在我们的组织建议我们必须改用 SSH URL。所以我已经改变了这一点。

我还将我的公共 SSH 密钥 ( id_rsa.pub)的内容复制到我的 GitHub 帐户中。我的 SSH 密钥受密码保护。

现在,当我尝试在 GitHub Desktop 中进行同步时,出现以下错误:

在此处输入图片说明

在 Git Bash 中它工作正常(尽管它在每次拉/推之前询问我的密码)。知道我需要做什么才能完成这项工作吗?

git github-for-windows

20
推荐指数
1
解决办法
2万
查看次数