smartgit

How to use different keys for different Bitbucket repos in SmartGit?

天涯浪子 提交于 2019-12-08 21:47:32
When using SmartGit as SSH-client, it caches the first selected key. And when further you trying to pull/push to another repo, SmartGit says "Access denied" . SmartGit saves to preferences what key should it use to connect to the Bitbucket. But all repos has address: ssh://git@bitbucket.org in SmartGit preferences. VonC As mentioned here and in this thread , you should be able to reference multiple private ssh keys in a %HOME%\.ssh\config file , changing the url to bitbucket1:userA/myrepo1 , bitbucket2:userA/myrepo2 . That means that: you have selected System SSH in the preferences have added

SmartGit refreshing slow

99封情书 提交于 2019-12-08 16:43:49
问题 I'm using SmartGit6 with a license and git 1.9.4. The refreshing is really slow and it normaly takes 40s to show the log. SmartGit2 is working very fast though. Anything I can do to make it faster? 来源: https://stackoverflow.com/questions/25194387/smartgit-refreshing-slow

How to setup multiple tracking levels of branchs with git

谁说胖子不能爱 提交于 2019-12-08 12:41:50
问题 I have a git local branch that tracked the remote svn trunk. I created a new development branch and set the local branch to track it. I want that the development branch will also track the svn/trunk something like: from: local branch > development branch to: local branch > development branch > svn/trunk Is it possible to do it with git? I'm using git version 2.14.3 git GUI - smartgit v18.1 回答1: No, this is not possible in Git. But it's also not that important (really!), because tracking a

Is there a way to see the shell commands executed by SmartGit?

让人想犯罪 __ 提交于 2019-12-07 06:15:42
问题 I am pretty new to git and am learning the general flow and all the command-line options. However, sometimes I like to use the graphical interface of SmartGit in conjunction to the shell, especially if I am unsure of the best way to accomplish a flow task. My question: Is there any way to see what git shell commands are executed by the tool. I will probably eventually execute most git actions using the shell and only use the GUI for visuals. Thus, it would be helpful to see how GUI actions

Smartgit: Auto insert commit message

烂漫一生 提交于 2019-12-04 19:16:09
问题 Is there a way to auto insert the commit message in Smartgit with a hook script? (Bash). If a user commit's his change, I want to preload the commit message field. 回答1: I don't see any SmartGit configuration for this feature. I would rather rely on a prepare-commit-msg hook as described in "How do I add project-specific information to the Git commit comment?", based on a commit.template Git configuration. See also "Including the current branch name in the commit template" for another example.

Git - Broken Links, Missing & Dangling Trees

我的未来我决定 提交于 2019-12-04 18:25:58
问题 I was happily using Git - made some commits a couple of nights ago, which are reflected in the remote repo. Last night I opened up Smartgit Hg and it tells me there are missing trees. I ran git fsck --full and got the rather large output below. I'm a Git amateur. I use a GUI to do what I need to do. I've tried reading through this (https://git.wiki.kernel.org/index.php/GitFaq#How_to_fix_a_broken_repository.3F) but it isn't making an awful lot of sense and following it blindly doesn't seem to

SmartGIT does not ask for ssh key

半腔热情 提交于 2019-12-04 05:36:43
after switching over to a new computer I had to install SmartGIT for Windows again and now try to clone my fedorahosted.org-repository. Keys are stored C:/User/myusername/.ssh, SmartGIT comes with a clean installation and URL for cloning my repository is correct - unfortunately SmartGIT does NOT ask for the key, it just tries to connect to fedorahosted.org but then of course fails. So...what could be wrong here? Where do I have to place my ssh keys so that SmartGIT finds and uses it? Was facing the same problem, as Smart Git wouldn't ask me for the SSH key location when trying to clone a repo

Smartgit: Auto insert commit message

妖精的绣舞 提交于 2019-12-03 13:16:23
Is there a way to auto insert the commit message in Smartgit with a hook script? (Bash). If a user commit's his change, I want to preload the commit message field. VonC I don't see any SmartGit configuration for this feature. I would rather rely on a prepare-commit-msg hook as described in " How do I add project-specific information to the Git commit comment? ", based on a commit.template Git configuration . See also " Including the current branch name in the commit template " for another example. There are 2 hooks which may be of interest to you: prepare-commit-msg and commit-msg prepare

How do I only commit specific lines using SmartGit/Hg

回眸只為那壹抹淺笑 提交于 2019-12-03 12:36:44
问题 I'm using SmartGit/Hg. I edited some files working on two separate new features. Now as I finished working on Feature A , I want to commit my work, but I can't just commit all my edited files, as they contain changes of Feature B , which I do not want to commit just now. 回答1: You can achieve that using the stage command. First of all, stage all the files containing changes to be committed. In this example, all the files except the one called DoNotCommit.php contain at least one line we want

SmartGIT does not ask for ssh key

匿名 (未验证) 提交于 2019-12-03 08:52:47
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: after switching over to a new computer I had to install SmartGIT for Windows again and now try to clone my fedorahosted.org-repository. Keys are stored C:/User/myusername/.ssh, SmartGIT comes with a clean installation and URL for cloning my repository is correct - unfortunately SmartGIT does NOT ask for the key, it just tries to connect to fedorahosted.org but then of course fails. So...what could be wrong here? Where do I have to place my ssh keys so that SmartGIT finds and uses it? 回答1: Was facing the same problem, as Smart Git wouldn't