smartgit

如何通过提交消息搜索Git存储库?

孤者浪人 提交于 2020-01-07 04:07:31
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 我使用提交消息“Build 0051”检查了一些源代码到GIT中。 但是,我似乎无法再找到源代码 - 如何使用命令行从GIT存储库中提取此源代码? 更新 使用SmartGIT检查版本0043,0044,0045和0046。 检出0043,并检查其他分支上的版本0051。 再次检查0043。 现在,0051已经消失了。 更新 源代码肯定存在,现在需要检查它: C:\Source>git log -g --grep="0052" commit 77b1f718d19e5cf46e2fab8405a9a0859c9c2889 Reflog: HEAD@{10} (unknown <Mike@.(none)>) Reflog message: commit: 20110819 - 1724 - GL: Intermediate version. File version: v0.5.0 build 0052. Author: unknown <Mike@.(none)> Date: Fri Aug 19 17:24:51 2011 +0100 20110819 - 1724 - GL: Intermediate version. File version: v0.5.0 build 0052. C:\Source>

GWT: retrieve Components from FormPanel/VerticalPanel which are added dynamically

江枫思渺然 提交于 2020-01-06 07:52:27
问题 I am creating a web page using GWT 2.5.0, in this I used lots of composite component. And the web page is developed based on XML . So here we parse the XML and according to each element add componnet to a VerticalPanel and finally add it to a FormPanel and then return it to add to RootPanel. Beside the Component corresponds to XML I add a Button, call it submit button, on its click event I want to get the values of every component in that form . To clear what my idea is , below is the pseudo

Is it possible to ask GIT, don't show a file?

夙愿已清 提交于 2019-12-24 03:42:41
问题 I'm facing a very annoying situation. Our application contains Crashlytics in order to collect crashes and doing Analytic stuff. Crashlytics generates crashlytics.properties file and update it periodically. This file shouldn't be under version control and I cannot add it to .gitignore file since my team lead doesn't agree. I added this file into git (by git add ) and then asked git to don't track it by git update-index --assume-unchanged crashlytics.propertise command. I'm able to see it's

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

一个人想着一个人 提交于 2019-12-23 01:18:06
问题 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. 回答1: 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 ,

SmartGIT does not ask for ssh key

半腔热情 提交于 2019-12-21 12:27:12
问题 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

Deploy web project under GIT version control to shared hosting

倖福魔咒の 提交于 2019-12-20 23:30:19
问题 I am developing a wordpress theme which is under version control using Git and in a local development area ( WAMP ). I push commits to bitbucket using smartgit as a GUI. I have 2 branches, master and development. I want to deploy the development branch to a staging area ( a wordpress install on my live server). I have tried using ftploy which does achieve this; however it doesn't seem to allow me to choose which branch to deploy and I want to reserve deployment of the master branch for the

How to checkout and reset using smartgit?

蓝咒 提交于 2019-12-20 04:52:18
问题 Need help in understanding the below 1). How do i check out to a particular commit and again revert back to the recent commit ? Tried branch->checkout->same branch and check out to the previous commit, but when i did this the commits made after the one i checked out now got lost ! Its not in the list to checkout to recent commit ! 2). How do i reset my head to a particular commit ? 回答1: (1) Usually, branch refs won't be changed by a Check Out , so you may use Check Out again to switch back to

Does SmartGit support git-svn?

人走茶凉 提交于 2019-12-12 20:22:36
问题 If SmartGit even supports git-svn, how would I go about using it? Would I clone my svn repository first then somehow link it to my git repository or vise versa? I found git-svn mentioned very briefly in the SmartGit documentation but it doesn't describe how to use it in the actual client. 回答1: Following tutorial explains how the SVN integration of SmartGit works: https://www.syntevo.com/doc/display/SG/SmartGit+as+SVN+Bridge 来源: https://stackoverflow.com/questions/16128118/does-smartgit

GIT - '~/repo.git/' is not a git command

余生长醉 提交于 2019-12-11 18:30:06
问题 I have a problem with with remote git repo and local repo (using SmartGit). I'm creating remote repo on my server via ssh: > cd ~ > git init repo.git > cd repo.git > touch readme > git add . > git commit -m "Initial commit" From here everything seems perfect. Now I'm trying to clone repo using Smartgit with command ssh://user@server:22/~/repo.git Everything is cloning well. I make changes in readme file, saving it and trying to commit and push and getting error: The remote end hang up

git describe: inexplicable commit count

心不动则不痛 提交于 2019-12-11 03:52:27
问题 Consider this excerpt of git log --oneline --decorate --graph : * 552485a (HEAD -> master, origin/master) Finish v0.8.4 |\ | * c198066 (tag: v0.8.4) some commit message * | 343af72 Finish v0.8.3 |\ \ | |/ | * 0267e30 (tag: v0.8.3) some commit message * | 8f0ff57 some commit message |\ \ | |/ ... (NB: the tag v0.8.4 is on a commit from branch 'develop') How comes that when I run git describe I get this: v0.8.4-16-g552485a that is, git counts 16 commits since tag v0.8.4. I'd expect it to return