tortoisegit

Git remove --cached by TortoiseGit

荒凉一梦 提交于 2019-11-28 09:22:55
问题 I have updated my .gitignore file and now I want to update the index. I want to execute git rm --cached command. But how can I do it by TortoiseGit? 回答1: Right click that file, choose TortoiseGit -> Delete (keep local). This does git rm --cached . 来源: https://stackoverflow.com/questions/10426895/git-remove-cached-by-tortoisegit

Cygwin and TortoiseGit

你。 提交于 2019-11-28 08:02:39
问题 I have recently installed Cygwin along with the Git binaries and a copy of TortoiseGit on a fresh Windows XP install. I seem to be able to do most Git operations through TortoiseGit such as viewing the logs etc, but when I come to commit via TortoiseGit I get this message... error: unable to create temporary sha1 filename : No such file or directory I am able to commit via the command line - I just dont seem able to commit through the gui interface! 回答1: TortoiseGit is optimized for Git for

Tortoisegit asking password

我只是一个虾纸丫 提交于 2019-11-28 03:26:12
I just started to work on Git. I use windows 7 and has installed msysgit(1.7.8) and Tortoisegit(1.7.6). The repository is created on Linux server which is accessible thru LAN. The issue I'm facing is I'm not able to clone the repository using Tortoisegit, it asks for password and I'm not sure what password it is asking. At the same time I could clone the repository using Git Gui and do all operations. Can anybody please help me on understanding why Tortoisegit is asking password when Git Gui doesn't. I tried uninstalling Git and Tortoisegit and then install again but no success. pramodtech My

Correctly merging a feature branch using TortoiseGit

别等时光非礼了梦想. 提交于 2019-11-28 01:48:27
问题 I am learning to use Git, however, I'd like to keep a linear looking history. I have just finished my first feature branch . I am now ready to merge it into my master branch. I understand that the right way to do this is to rebase the feature branch or something and then merge it? Either way, there is some process for merging so that you retain commit history or something. My main branch is called master . The feature branch is called import-publictalk-names . Found this question: Merging

TortoiseGit change default port 22

非 Y 不嫁゛ 提交于 2019-11-28 01:23:10
It's probably an easy question. I'm running on windows 8, and I want to connect to my company's repository. My company changed the default port from 22 to 1234 for some administrative reason. My git repository looks like git@office.comp.com:proj.git . First of all I don't understand the colon-notation in ':proj.git', I'm used to the slash-notation. Secondly I want a way to pull and push on that port either using TortoiseGit or from the command line. I tried changing the url like git@office.comp.com:1234:proj.git and git@office.comp.com:proj.git:1234, but no hope. I always get a connection

clone parts of a github project [duplicate]

青春壹個敷衍的年華 提交于 2019-11-27 19:43:52
Possible Duplicate: Is there any way to clone a git repository’s sub-directory only? I'm trying to clone parts of a github project but I can only get the root folder. This is the first time im trying to use github and I just installed tortoisegit, im used to svn and cvs where you could just take a folder you wanted to checkout, but it seems git only got a .git file in the root folder so im not sure what to do. JasonSmith There is the subtree merge. But here is an easier but partial solution that perhaps is good enough for your needs. Just fork and periodically merge back . Fork (clone) the

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

隐身守侯 提交于 2019-11-27 17:45:32
问题 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

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

橙三吉。 提交于 2019-11-27 15:42:46
问题 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? 回答1: 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

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

我只是一个虾纸丫 提交于 2019-11-27 15:36:20
问题 Currently I'm 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 cannot 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

Does TortoiseGit work with PortableGit-x.x.x.x-previewyyyyyy? What are compatible git versions for TortoiseGit?

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-27 14:51:04
Does Tortoisegit work with PortableGit-x.x.x.x-previewyyyyyy? If yes, how to arrange these? VonC Original answer (Nov. 2011) It depends on your Os (Win32 or 64), and on the combination of TortoiseGit and msysgit. The latest versions of both should usually work together, but you can see some bugs still pending: Issue 948 : TortoiseProc crashes when repo contains huge files Issue 875 : TGitCache crash Whenever you have a similar issue, report it on the bug list, and look for an intermediate build. The very latest ones, for instance, supposed to fix the current crashes, are: https://tortoisegit