tortoisegit

Git submodules using relative urls

℡╲_俬逩灬. 提交于 2019-12-04 05:11:34
I use git (TortoiseGit 1.7.5.0) and have a repo with submodules, which are referenced via absolute paths in a manner: [submodule "common/sub"] path = common/sub url = ssh://localhost/lib/common/sub While the super-repo is cloned as ssh://user@localhost/super , the username shouldn't go into each submodule url, because different users should work with the code using their own credentials. When pulling/pushing submodules I had to enter my login (the password is not needed because I'm running Pageant): the username isn't passed to TortoisePlink via command line. Surfing the Web, I found several

Warning: You appear to have cloned empty repository in TortoiseGit

杀马特。学长 韩版系。学妹 提交于 2019-12-04 03:03:44
问题 I am given a http git repository url along with username and password. I installed git and tried to clone the repository using Tortoisegit but somehow it is not working. These are the screenshots: After I hit OK i am asked for username and password. I entered that and then I get this screenshots: I am new to git and never used git before. I am totally clueless why is this happening. Can anybody help me out? At the end I get success does that mean the server repository itself is empty or am I

Git安装(msysgit命令行工具 + TortoiseGit可视化工具 )

北慕城南 提交于 2019-12-04 02:15:09
Win7上Git安装及配置过程 http://blog.chinaunix.net/uid-25806493-id-3319781.html 文档名称 Win7上Git安装及配置过程 创建时间 2012/8/20 修改时间 2012/8/20 创建人 Baifx 简介(收获) 1、在win7上安装msysgit步骤; 2、在win7上安装TortoiseGit步骤; 3、在VS2010中集成Git方法和步骤。 参考源 Git的配置与使用 http://wenku.baidu.com/view/929d7b4e2e3f5727a5e962a8.html 一、安装说明 1、Git在windows平台上安装说明。 Git 是 Linux Torvalds 为了帮助管理 Linux 内核开发而开发的一个开放源码的版本控制软件。目前Git已经可以在windows下使用,主要方法有二:msysgit和Cygwin。Cygwin和Linux使用方法类似,Windows版本的Git提供了友好的GUI(图形界面),安装后很快可以上手,此处我们主要讨论基于msysgit的Git安装和使用。 TortoiseGit是TortoiseSVN的Git版本,TortoiseGit用于迁移TortoiseSVN到TortoiseGit。一直以来Git在Windows平台没有好用GUI客户端

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

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-04 01:35:52
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? 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 locally for you, instead of having to manually set it with git symbolic-ref like in my old solution above:

git.exe pull error: cannot spawn git: Invalid argument

◇◆丶佛笑我妖孽 提交于 2019-12-03 22:52:08
I have an error exactly as it's on the picture. Tried various settings, googled, reinstalled. Git pull doesn't work in TortoiseGit, I can commit and push, though. I have ssh client in network tab. What else can I try? Update: Git for Windows 2.16.1(4) is out and that should fix this issue: https://github.com/git-for-windows/git/releases Old answer: This is a known issue in Git for Windows 2.16.1(2) and 2.16.1(3): https://github.com/git-for-windows/git/issues/1481 Only workaround is to use Git for Windows 2.16.1 ( Download ) (or older; 2.16.0 has other critical issues: TortoiseGit revert failed

Git与Github介绍及安装

假装没事ソ 提交于 2019-12-03 20:40:27
源码版本控制 GIT 目标 1 、什么是 GIT 目标 2 、 Git 安装与配置 目标 3 、 TortoiseGit 安装与配置 目标 4 、 GitHUB 帐号申请及相关操作 目标 5 、 Git 与 TortoiseGit 基本操作 目标 6 、 Idea 整合 GIt 操作 1. 什么是 Git Git 是一款免费、开源的 分布式版本控制系统 ,用于敏捷高效地处理任何或小或大的项目。 Git 是 Linus Torvalds 为了帮助管理 Linux 内核开发而开发的一个开放源码的版本控制软件。 2. Git 相关软件下载 Git 的下载页面: https://git-scm.com/ downlond 目前最新版: Git-2.13.0 注意下载对应操作系统位数的安装包。 TortoiseGit 下载页面 : http://download.tortoisegit.org/tgit/ 目前最新版: TortoiseGit-2.4.0.2 3. Git 安装与配置 3.1 Git 安装 1、 选中 GIT 安装包, Git-2.13.0-64-bit.exe 单击右键,弹出对话框,点击【解除锁定】。 2、 双击 GIT 安装包, Git-2.13.0-64-bit.exe 开始安装(如有安全告警,点击运行) 3 、出现授权信息页面,点击下一步即可 4、选择安装路径 5、

TortoiseGit / Winforms: Resolving Resource.resx When Merging

一世执手 提交于 2019-12-03 20:21:30
I am fairly new to TortoiseGit. Wondering, if I get a conflict on a .resx file, how do I resolve it during a merge? For example, I could select "using theirs" off of the menu, try to do a pull and push, but is this the right approach? Can I somehow use theirs and rebuild it with my project changes? The differences (as well as mixed up contents compared to the respository) are many - to many to do a real merge. Thanks for looking? This is an old question that has not been answered. However resolving conflicts in resx files is driving me nuts. The main issue seems to be that resx files can be

Can Git-svn be used on large, branched repositories?

我与影子孤独终老i 提交于 2019-12-03 16:20:35
问题 I am trying to use Git as a frontend to a SVN repository in order to be able to use Git's nice features like simple branching, stashing etc. The problem is that the SVN repository is quite large (8,000 revs) and contains lots of branches and tags (old as well as new). It's a near standard layout, with a config containing fetch, branches and tags directives. Since the oldest branch and tag refers to revision 10, it means that every svn fetch reads the entire repository history from revision 10

工具系列——Git和TortoiseGit的使用介绍

早过忘川 提交于 2019-12-03 15:07:53
一、安装Git和TortoiseGit 首先安装Git和TortoiseGit,后者依赖前者,不多做解释。 二、创建SSH公钥和私钥 SSH key 可以让你在你的电脑和 Git @ OSC 之间建立安全的加密连接。 你可以在git Bash中按如下命令来生成sshkey ssh-keygen -t rsa -C "xxxxx@xxxxx.com" # Creates a new ssh key using the provided email # Generating public/private rsa key pair... # 目录在Enter file in which to save the key (/c/Users/username/.ssh/id_rsa): 查看你的 public key, 并把他添加到 Git @ OSC cat ~/.ssh/id_rsa.pub # ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6eNtGpNGwstc.... # 从头一直到=号结束,后面的不要 添加后,在终端(Terminal)中输入 ssh -T git@git.oschina.net 若返回 Welcome to Git@OSC, yourname! 则证明添加成功。 三、Putty和ssh介绍 在安装TortoiseGit的时候

Deleted remote branches still listed in TortoiseGit

妖精的绣舞 提交于 2019-12-03 14:40:44
问题 I have noticed TortoiseGit seems to contain every feature branch I ever created, both in drop-downs for local branches AND remote, even though many of the remote branches were deleted after being merged into master. Is there a way in TortoiseGit to synhronise which branches are listed to those actually existing? And a slight tangent... in terms of Git itself is a local version of a branch considered totally decoupled from the remote? i.e. there is no reason why deleting the remote version