tortoisegit

Can you interact with the index/staging area with TortoiseGit?

我是研究僧i 提交于 2019-12-17 11:18:31
问题 I've been tasked with giving a presentation on Git to my colleagues, who are almost entirely Windows users who are used to using TortoiseCVS. I've been using Git for about a year, but I almost exclusively used the Unix command line interface. So I've been trying to get familiar with the Windows GUI Git tools including TortoiseGit. But it seems to me that this is more than just GUI skin over the Git command line interface, and actually abstract some things completely away, specifically the

Invalid SSL certificate when pushing to Git server

爷,独闯天下 提交于 2019-12-17 05:50:31
问题 I am running Gitblit on a Windows Server and am trying to push data to a repository from another machine on the network. I have used a SSL certificate (not self signed, but I think signed by my company? Not really sure how that works but Chrome, IE, etc. see it is identity verified). The server that runs Gitblit is named itscm and on the developer's desktop I am using this URL to push data via TortoiseGit: git.exe push --progress "https://itscm:8234/git/TestRepo.git" master However, I get

TortoiseGit save user authentication / credentials

雨燕双飞 提交于 2019-12-17 05:21:55
问题 Is there a way to save GITHUB's user credentials with TortoiseGit? It prompts me the below dialog every time whenever I do a push/pull. I would like to save my user credential information somewhere like how I did with TortoiseSVN. 回答1: For TortoiseGit 1.8.1.2 or later, there is a GUI to switch on/off credential helper. It supports git-credential-wincred and git-credential-winstore . TortoiseGit 1.8.16 add support for git-credential-manager (Git Credential Manager, the successor of git

TortoiseGit 保存账号密码

别等时光非礼了梦想. 提交于 2019-12-17 00:56:37
TortoiseGit下载网址: http://download.tortoisegit.org/tgit/ 修改.gitconfig .gitconfig 用于记录git配置信息 路径: 系统盘:\Users\用户名\.gitconfig 在文件后面添加 [credential] helper = store 如图: 保存后会在 系统盘:\Users\用户名 目录下面生成.git-credentials文件,该文件明文记录了你输入的账号密码 end 来源: CSDN 作者: 95.8℃ 链接: https://blog.csdn.net/weixin_41182727/article/details/103569228

tortoisegit 常见错误disconnected no supported authentication methods available(server sent: publickey)

我怕爱的太早我们不能终老 提交于 2019-12-16 20:45:40
1.安装好小乌龟git后,用小乌龟的pull 从github上拉取项目,遇到错误: disconnected no supported authentication methods available(server sent: publickey) 或者是 git did not exit cleanly (exit code 1) 亦或者是 git did not exit cleanly (exit code 128) 多半是因为git和小乌龟有冲突,解决方法: 右键--小乌龟---settings--network--修改ssh client为git的ssh.exe 点击 browse按钮打开文件目录,找到git目录下的ssh.exe,确认。即可。 替换成功,后,再pull一下。应该就能正常的pull成功。如果不行,再把SSH client改回小乌龟自己的程序,再试一下。 来源: CSDN 作者: qq1090504117 链接: https://blog.csdn.net/qq1090504117/article/details/103568923

tortoisegit push successfully, but no new files?

淺唱寂寞╮ 提交于 2019-12-13 16:23:18
问题 I have setup a git repository in a linux server, and installed the latest MSysGit and TortoiseGit on my Windows 7 laptop. I can pull from the remote repository by TortoiseGit, and I can commit & push to remote repository too. If I run "git log" in the remote server, it can show the latest comments correctly. But the new files are missing in the remote server. Please advise and suggest. Thank you so much. 回答1: It is highly recommended that you never push to a *non-*bare repository. Instead,

Can multiple Git clients be used on the same repository?

旧城冷巷雨未停 提交于 2019-12-13 16:13:36
问题 I currently am using TortoiseGit from my Windows development machine. My repository is located on BitBucket. Recently I have been looking at other Git clients as I find TortoiseGit a bit confusing. Since Git information and meta-data is stored in .git folders I was wondering if I can use other Git clients on my current branch. If possible are there any disadvantages to doing this? 回答1: Can you switch to a different client, say you were using command-line yesterday and TortoiseGit today? Sure,

TortoiseGit: How do I temporarily switch to an earlier version

雨燕双飞 提交于 2019-12-13 15:24:33
问题 In Git I have made a bunch of changes to my master branch, and I also have created a tag called 'BeforeDynamicCasts'. I wish to temporarily switch to 'BeforeDynamicCasts', and then revert back to my master branch.. How can I do this? I can do switch/checkout to the tag, but not sure how to get back to the master branch afterwards. Is this the correct way to do it? Last time I did this I was not able to get back to my original master branch. 回答1: Explorer -> Switch/Checkout Select branch,

Could not create directory '/c/\303\234/.ssh'

有些话、适合烂在心里 提交于 2019-12-12 15:02:59
问题 I have created an OpenShift application using rhc. The git repository has been cloned successfully on my Windows 7 PC. I want to push my code changes back to OpenShift. I am using TortoiseGit. I have used the procedure described here to create and set SSH keys for TortoiseGit. I have modified the settings to configure the SSH private key: Yet, when I try to push my changes, I get: What is causing this and how to solve it? Thanks! 回答1: It looks like git cannot save the known hosts list on c:\

TortoiseGit Git Commit message from script

让人想犯罪 __ 提交于 2019-12-12 14:23:20
问题 I have generated Start Commit Hook in TortoiseGit which calls StartComit.bat file and option "Wait for the script to finish" is enabled. The content of the bat file is echo "Some more info...." >> %1 The script is getting called before Commit dialog opens but it's not working, I'm not getting any text in Message field. What am I doing wrong here? Edit: Just to make question more clear I'm trying to fallow this accepted answer https://stackoverflow.com/a/3967136/596935 and do a similar thing.