tortoisegit

Git error - unable to unlink old 'some/file/name' (Bad file descriptor)

十年热恋 提交于 2019-11-29 04:36:38
问题 When trying to switch/checkout (in TortoiseGit) to another branch, I get the following error: error: unable to unlink old 'foo/bar.cfc' (Bad file descriptor) What does this mean? 回答1: Are you using any other tools while using TortoiseGit? For instance, this project mentions an interaction with Visual Studio: If you see errors about being unable to unlink old files when running git commands on Windows, it's quite likely that you have the chrome solution open in Visual Studio and it's updating

Git push fails with “fatal: early EOF” when PUSHing but only on one file

淺唱寂寞╮ 提交于 2019-11-29 03:42:05
When I try adding textures and text files to my repo it all works, but when I try adding a .blend file I get this error. I've tried a bunch of things I found here and on google, none of them worked (all were for clone/pull commands) I'm using Tortoise git 1.7.8 and Git 1.7.10 msysgit - I changed to them after the latest builds failed. Others have no problem pushing things to the repo, but I did not send them the .blend file. Here is the output: Pushing to ssh://git@x.x.x:x/home/git/gitrepo Counting objects: 4, done. Compressing objects: 100% (3/3) Writing objects: 100% (3/3), 112.00 KiB | 116

Can I use GitHub's 2-Factor Authentication with TortoiseGit?

杀马特。学长 韩版系。学妹 提交于 2019-11-29 01:12:18
We like TortoiseGit, and want to take advantage of GitHub's 2-Factor Authentication ...but the two don't seem to want to work together. Has anyone worked out a solution to this? The GitHub blog post about 2-Factor Authentication mentions that you can generate a "personal access token", that can be used in place of a password when 2-Factor Auth is enabled: I'm not sure if it will actually work with TortoiseGit, but maybe you can give it a try? You can generate an access token at the Authorized applications settings page : Roadkillnz To compliment Cupcake's answer , use the Personal Access token

How to set up two SSH keys for two GitLab accounts and push/pull by using TortoiseGit?

风格不统一 提交于 2019-11-29 00:17:14
Currently Im using GitLab as my remote GIT server. I have no problem using single Gitlab account with SSH key assigned to it. But now I applied another Gitlab account and I'm trying to use the same SSH key for it, but I cant add the key to this new account. The error is as follows when I tried to add the key: Key has already been taken Fingerprint has already been taken So how should I use the same key to access the second Gitlab account? if it is not possible, how should I use two keys at the same time. By the way, I'm using windows system. Thanks in advance!! ================================

Git pull error: unable to create file (Invalid argument)

前提是你 提交于 2019-11-28 21:08:11
I am trying to sync remote repo with local repo but getting following errors. Some files (which have not extention) are not getting sync with local repo on WINDOWS machine, but I could sync successfully on MAC machine. Is there any configuration settings in WINDOWS to handle such case? Using TortoiseGit Windows 7 64 bit machine ERROR DETAILS git.exe clone --progress -v "https://github.com/xxxx/xxxxx.git" "C:\Data\GitHub\simility\vishesh-common" Cloning into 'C:\Data\GitHub\simility\vishesh-common'... POST git-upload-pack (200 bytes) remote: Counting objects: 3912, done. remote: Compressing

Git (TortoiseGit) - How to revert a single file to a previous revision and then undo the revert?

家住魔仙堡 提交于 2019-11-28 20:13:08
When using Git with TortoiseGit: Does somebody know how to revert a single file(or a complete repository) to a previous revision? For example I have a repository containing multiple files. One file exists in three revisions (1 ; 2 ; 3). Now I want to change from revision 3 back to 2. TortoiseGit offers a "Revert" function in the "Show log" dialog which allows to jump back to a specific revision, but this will revert your whole repository instead of a single file. Also once I have reverted something, I don't have a clue how to undo the revert and jump back to the newest revision. In TortoiseGit

在Visual Studio中使用GitHub(使用篇)

こ雲淡風輕ζ 提交于 2019-11-28 18:18:44
上一篇中已经介绍了如何在windows下安装和配置Git,并且详细说明了如何和GitHub连接。 这里就详细的说明下如何在Visual Studio中使用GitHub。这里也是一个简单的Git教程。 注:非常非常简单的教程 一、准备工具 上一篇中我们已经安装了Git Extensions和Tortoisegit。在这里我们要为Visual Studio安装一个插件,专门用于Git。 Git Source Control Provider,打开 http://visualstudiogallery.msdn.microsoft.com/ 搜索"Git"关键字,即可搜索到该插件。 二、配置源码管理工具 三、配置帐户关联 四、使用 后面的事情就很简单了,创建文件夹 pull 一个副本,修改文件,commit文件,push到服务器。 五、总结 ok,git这个算是写完了,其实用起来和其他的版本控制感觉差不多。用不惯的也可以直接用Git Bash直接写命令行。 来源: oschina 链接: https://my.oschina.net/u/1995422/blog/2120172

Your configuration specifies to merge with the <branch name> from the remote, but no such ref was fetched.?

亡梦爱人 提交于 2019-11-28 16:33:36
问题 I am getting this error for pull: Your configuration specifies to merge with the ref 'refs/heads/feature/Sprint4/ABC-123-Branch' from the remote, but no such ref was fetched. This error is not coming for any other branch. The special thing about this branch is that it is created from the previous commit of another branch. My config file looks like: [core] repositoryformatversion = 0 filemode = false bare = false logallrefupdates = true symlinks = false ignorecase = true hideDotFiles =

How do I delete a Git branch with TortoiseGit

天大地大妈咪最大 提交于 2019-11-28 15:26:09
Is there an option to delete a branch with TortoiseGit ? I found a solution for the commandline . Is there an implementation in TortoiseGit? Sandro Munda You should read this article: Remote branches with TortoiseGit According to this blog post: ...remove the local branch by first opening up the Checkout/Switch dialog to get at the Browse refs dialog. In the Browse refs dialog we can right click on the local branch and choose to delete it. To delete a remote branch we can do the same thing, but instead of right clicking on our local branch we expand the remotes tree in the left part of the

After the upgrade to TortoiseGit v1.8.15.0 and Git v2.5.0 hosts cannot be found

↘锁芯ラ 提交于 2019-11-28 13:13:33
I've just updated my TortoiseGit from v1.7.* to v1.8.15.0 and Git from 1.* to v2.5.0.windows.1 . Now trying to perform a remote operation like pull I'm getting errors: git.exe pull -v --progress "origin" Unable to open connection: Host does not existfatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. git did not exit cleanly (exit code 1) (1747 ms @ 19.08.2015 18:43:33) I changed the SSH client setting from TortoiseGitPlink to PuTTY . It didn't work as well, but the PuTTY Error provided following information: Unuble to