tortoisegit

Push to Remote URL with TortoiseGit

主宰稳场 提交于 2020-01-01 23:54:55
问题 I have installed the latest MSysGit 1.6.3 preview and TortoiseGit 0.6.2 on my Windows XP PC. I also have created a --bare repository on my server which can be access through http (using WebDAV as authentication system). I can successfully log into my server's git repository from a browser. I have created a local repository on my PC and the initial commit. I have looked everyone and I still cannot find how to add a remote URL to TortoiseGit and push my local repository to that address . Any

libgit2 returned: Refspec 'refs/heads/origin/HEAD' not found error in TortoiseGit

对着背影说爱祢 提交于 2020-01-01 07:59:47
问题 I got this error when starting up TortoiseGit: Could not get all refs. libgit2 returned: Refspec 'refs/heads/origin/HEAD' not found While annoying, it does not prevent me from using TortoiseGit. However, I'd like to make it go away, because it is, well, annoying . How do I fix this? 回答1: Updated Answer So it turns out that, for the purpose of updating a local repo's view of which branch <remote>/HEAD points to, you can have git automatically fetch that information from the remote and set it

Solution to adding a Git (TortoiseGit) toolbar to Visual Studio [closed]

走远了吗. 提交于 2019-12-31 09:45:15
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . Anyone know how to create a toolbar in Visual Studio 2010 to use with Git (TortoiseGit)? Thanks SurfRat 回答1: I wanted a Git toolbar in Visual Studio and I found no solution to this so I thought I would share this with you. I installed the Git Source Control Provider and got Git working (via TortoiseGit) with the

TortoiseGit using incorrect SSH key

牧云@^-^@ 提交于 2019-12-31 08:59:28
问题 I have a strange problem with tortoise git at the moment, which I can't figure out. When trying to commit to my repository on github I get the error ERROR: Permission to martindevans/Hermes.git denied to key2 Key2 is a key I use to access a different github repository, however the remote url is not set to use key2, as you can see here it's set to use private.ppk Am I doing something obviously wrong, or is tortoise git broken? Nb. In response to the comments. Using normal git results in: C:

TortoiseGit modified sign (icon overlay) is not updating

点点圈 提交于 2019-12-31 08:10:09
问题 I have made a small change in some code but TortoiseGit shows it as modified (red exclamation sign) although I have committed, pulled, pushed, but it stays. What should I do here? I have not seen this issue before. 回答1: I'm assuming you are using tortoise git? I've had the issue before, sometimes pressing F5 fixes it other times it just goes away after tortoise resyncs itself. Here is another possible fix link. The current workaround is to kill TGitCache.exe with the Windows task manager. 回答2

How can I stop and start TGitCache.exe gracefully

家住魔仙堡 提交于 2019-12-31 08:08:45
问题 I want to remove my local repository entirely, but TGitCache.exe keeps an open handle to the directory. I would like to shut down it gracefully, delete the folder and start it again. 回答1: Open TortoiseGit Settings > Icon Overlays In section "Status cache" select "None" Click OK TGitCache.exe will disappear from the process list. If you need it again, you can turn it on by selecting another option, like "Default". After a click in an explorer window TGitCache.exe will run again. 回答2: You can

How can I stop and start TGitCache.exe gracefully

六眼飞鱼酱① 提交于 2019-12-31 08:08:17
问题 I want to remove my local repository entirely, but TGitCache.exe keeps an open handle to the directory. I would like to shut down it gracefully, delete the folder and start it again. 回答1: Open TortoiseGit Settings > Icon Overlays In section "Status cache" select "None" Click OK TGitCache.exe will disappear from the process list. If you need it again, you can turn it on by selecting another option, like "Default". After a click in an explorer window TGitCache.exe will run again. 回答2: You can

Git:无法检出分支-错误:pathspec'...'与git已知的任何文件都不匹配

守給你的承諾、 提交于 2019-12-30 20:31:28
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 我不确定为什么我 无法检出 我以前处理过的分支。 请参阅以下命令(注意: co 是 checkout 的别名): ramon@ramon-desktop:~/source/unstilted$ git branch -a * develop feature/datts_right feature/user_controlled_menu feature/user_controlled_site_layouts master remotes/origin/HEAD -> origin/master remotes/origin/develop remotes/origin/feature/datts_right remotes/origin/master ramon@ramon-desktop:~/source/unstilted$ git co feature/user_controlled_site_layouts error: pathspec 'feature/user_controlled_site_layouts' did not match any file(s) known to git. 我不确定这意味着什么,而且在Google上找不到我能理解的任何东西。 我如何结帐该分支

TortoiseGit Icon Overlays not showing

半腔热情 提交于 2019-12-30 08:33:32
问题 I know this question has been asked before but I can't seem to make them work now. I have tried: Rebooting. Installing latest preview release. Increasing icon cache and adding quotes around the keys: https://martinbuberl.com/blog/tortoisegit-icons-not-showing-workaround/ Changing the icon overlay settings. They now refuse to display. Here is a snapshot of the registry key items: 回答1: From https://tortoisegit.org/support/faq/#ovlnotall: The number of overlays allowed by Windows is limited to

Cherry pick using TortoiseGit

感情迁移 提交于 2019-12-29 11:32:05
问题 How do I run the cherry pick command using TortoiseGit UI? 回答1: Open the log in a repository with the target branch checked out. Use the top-left blue branch name to select the source branch. Select the commit(s) you want. Right click and select Cherry Pick this commit . 回答2: Considering 'release' branch is required to cherry-pick from 'master' branch, follow the steps as provided below: Step 1: Checkout 'release' branch Step 2: Click TostoiseGit -> Show log Step 3: Filter Source Branch