tortoisegit

Auth fails on Windows XP with git and tortoisegit

此生再无相见时 提交于 2019-12-29 01:47:05
问题 My authentication keeps failing. I've created my SSH keys and the public key has been imported by the local git admin, but I still get prompted for a password: git.exe clone --progress -v "git@repo:project.git" "C:\web\project" Cloning into C:\web\project... git@repo's password: fatal: The remote end hung up unexpectedly My SSH keys are passphraseless and live under " C:\Documents and Settings\username\.ssh " and I also copied them to " C:\Documents and Settings\username\ssh " (without the

I made a disastrous mistake with “create git repo here” - how do I rectify/undo it?

佐手、 提交于 2019-12-29 01:26:30
问题 I am new to Git. I have created an account on Bitbucket and downloaded TortoiseGit. I'm on Windows 7 and on the desktop I right clicked and thought "add git repo here" would create an empty folder that could be committed, but iy turns out it has **staged ** every folder on the desktop to be committed to master instead. How do I undo this? 回答1: Make sure to turn on Show hidden files in Explorer. Then delete .git directory in your desktop 回答2: Do not run git reset --hard that will delete all

How to install/setup TortoiseGit to work with GitHub

二次信任 提交于 2019-12-28 04:00:10
问题 I have just installed Git For Windows, and created my SSH key using SSH through Cygwin. It seems to be working from command-line and the Git For Windows GUI, but now I want to use TortoiseGit. TortoiseGit uses a Putty-like SSH client by default but apparently GitHub only accepts (open)SSH, and I don't really know how to proceed. I will be doing a clean TortoiseGit install, I already have Cygwin and Git for Windows installed. 回答1: For anyone looking to change an existing TortoiseGit

Git(一)

一个人想着一个人 提交于 2019-12-26 17:14:35
1 Git历史 同生活中的许多伟大事件一样,Git 诞生于一个极富纷争大举创新的年代。Linux 内核开源项目有着为数众广的参与者。绝大多数的 Linux 内核维护工作都花在了提交补丁和保存归档的繁琐事务上(1991-2002年间)。到 2002 年,整个项目组开始启用分布式版本控制系统 BitKeeper 来管理和维护代码。 到 2005 年的时候,开发 BitKeeper 的商业公司同 Linux 内核开源社区的合作关系结束,他们收回了免费使用 BitKeeper 的权力。这就迫使 Linux 开源社区(特别是 Linux的缔造者 Linus Torvalds )不得不吸取教训,只有开发一套属于自己的版本控制系统才不至于重蹈覆辙。他们对新的系统订了若干目标: • 速度 • 简单的设计 • 对非线性开发模式的强力支持(允许上千个并行开发的分支) • 完全分布式 • 有能力高效管理类似 Linux 内核一样的超大规模项目(速度和数据量) git的安装   最早Git是在Linux上开发的,很长一段时间内,Git也只能在Linux和Unix系统上跑。不过,慢慢地有人把它移植到了Windows上。现在,Git可以在Linux、Unix、Mac和Windows这几大平台上正常运行了。由于开发机大多数情况都是windows,所以本教程只讲解windows下的git的安装及使用。   2

Why aren't my commits appearing in GitHub?

我们两清 提交于 2019-12-25 04:11:52
问题 After 5 hours of troubleshooting, searching solutions and tutorials I can't help myself as to use you guys as a last hope before giving up. I want to have a repo on github.com for a new project. So I created an account and a repo. So far, so good. I installed Git and TortoiseGit and made a clone of my repo via HTTPS. Now, if I try to commit Tortoise tells me that it was successful but I do not see the changes on github.com. I tried to clone via SSH. But here Tortoise gives me the error when I

TortoiseGit: apply patch skips added files

巧了我就是萌 提交于 2019-12-25 02:51:59
问题 I have 2 files (one modified and a new file) as modified for a commit. I want to create a patch for this. I created a patch using TortoiseGit and I can see that patch contains changes for both the files. However, when I apply this patch into some repository, it applies both the changes but the new file is not shown as added. Due to this, if I simply say: git commit, the newly added file is missed out of commit. Is this a bug of TortoiseGit or I am doing something wrong? I tried to create a

TortoiseGit: apply patch skips added files

别说谁变了你拦得住时间么 提交于 2019-12-25 02:51:59
问题 I have 2 files (one modified and a new file) as modified for a commit. I want to create a patch for this. I created a patch using TortoiseGit and I can see that patch contains changes for both the files. However, when I apply this patch into some repository, it applies both the changes but the new file is not shown as added. Due to this, if I simply say: git commit, the newly added file is missed out of commit. Is this a bug of TortoiseGit or I am doing something wrong? I tried to create a

Moving some commits to a feature branch but leaving others in the master branch

谁说胖子不能爱 提交于 2019-12-23 23:52:11
问题 I am not sure if I can do anything about this and it is not a huge hardship to leave it as it is. I did try to fix things by following steps on other SO topics etc. and ended up loosing all my help revision commits and files. Things are a little messy and I will try to explain. The history is OK up to a certain point: Removing unused resource ID values from resource.h Can you see that towards the bottom of the screenshot of the log? Since that time, the majority of the commits are help file

TortoiseGit revert failed - unable to revert local changes

…衆ロ難τιáo~ 提交于 2019-12-23 09:26:38
问题 When I do some modifications on my local environment like removing files or modifying them and in TortoiseGit I click commit and try to revert the changes I can see and error: Revert failed: error: unable to stat just-written file : No such file or directory Has anyone else experienced this? It seems to be some kind of permissions issues but sometimes this can be fixed by restart of the computer. I would like to find more reliable solution. 回答1: Git for Windows, the 2.16.0.windows.2 contains

git did not exit cleanly (exit code 128) write error: Bad file descriptor

牧云@^-^@ 提交于 2019-12-23 03:14:45
问题 Since a couple of days I have a problem to pull/push on Github on the origin branch. I use git with TortoiseGit. I got this error message on push: fatal: The remote end hung up unexpectedly fatal: The remote end hung up unexpectedly fatal: write error: Bad file descriptor I got this error message on pull: git.exe pull -v --progress "origin" Cannot chdir to , the toplevel of the working tree git did not exit cleanly (exit code 1) (6771 ms @ 20.09.2013 10:01:25) And I think it has to do with my