Ihave a webserver with gitolite installed and where i login using my ssh key. Normally i just use git on the server itself using the command line but for a new project i need to clone a repo on my windows pc and i would like to use SmartGit for this.
But i've spend several hours already just to clone the repo via Smartgit. As remote Git i use the url i normally would use on the server: me@my-server:the-repo then after a while i get a dialogue box 'SSH Authentication' and i select my private key, as i would do for pagent, and put in my Passphrase. But when i click login it just tries to connect for a while and then shows me the 'SSH Authentication' dialogue box again. No error message or anything.
It's odd and confusing how looks like a Finder dialog, with no reference at all to SmartGit. It's usually caused by the SSH key password not being stored in the Keychain Access app. That's where SmartGit will look for it. You'll need to add it in there, like this:
(In my case, I had to remove my local project and then clone it from smargit, i wasn't able to make it work with an existing local project, smartgit always told me the private key (id_rsa) was wrong or the passphrase was wrong, It took me one day to succeed, i hate so much smartgit!!!)
I have downloaded a Smartgit 4.5.5 and trying to use in Ubuntu 13.04. But the problem is when i double click on the script smartgithg.sh it opens on the Gedit. On the previous versions of ubuntu i did not face this issues.
This type of installation has also the advantage that Smartgit downloads and install the last version automatically when an update comes out, so you don't need to uninstall and re-install the new version anymore.
After installing it and trying it out (successfully) I thought I was set until today when I tried to commit code and I got the error message "unable to auto-detect email address (got 'User@Computer-name.(none)').
I have a request for developers: though this issue seems rare, could you please provide an option for a CLEAN UNINSTALL of smartgit as well as CLEAN INSTALL, that recreates EVERY config file necessary. I thought that is a natural practice and was shocked to see such mistakes prop up due to the fact that you do not follow it.
Though I think I entered the same e-mail as the one I gave when I first install the program (to register the non-commercial copy) I don't think they ever asked me for the name then, so the name was completely new. Therefore I don't know if you need to enter the precise e-mail you gave at the first install or not.
After getting in touch with the makers of SmartGIT, they pointed out that my PC was pointing to a git config file in a old folder I used before. Also, my HOME variable was set to point to this folder, causing this weird conflict seeing as SmartGIT (apparently) looks for your .gitconfig file in the %USERNAME% folder. Just moved my .gitconfig to that folder and it worked.
while installing smartgit 3.0.4 I checked the commercial licensing option, because I was just clicking "next" button : ) (30 day trial and then you have to buy it). Now today is my 31st day of using SG and I can't change my licensing options (reinstalling smartgit doesn't help) and I'm not able to use SG anymore without paying (I'm not using it for commercial purposes). Do you know how to fix it?
Any of these have conditions that need to be fulfilled, before a non-commercial license can be issued, or have some restrictions. For example, a hobby license restricts your use to repositories "where you are the only author/committer or which are open source".
After unpacking the tar file I had a dir called smartgithg-4_0_3. I moved this folder to my home directory and renamed it smartgit. After running ./bin/smartgithg.sh, another folder was created called .smartgit (note the . prefix).
I simply deleted the .smartgit folder (the dir tree with all the .xml files) and ran the ,/bin/smarthg.sh script again. The whole install process is repeated. Select the non commercial option when it appears.
I deleted the entire Config folder but preserved the files repositories.yml repository-cache repository-grouping.yml. after running SmartGit, it created the config folder (i think it used the config from an older build (to save things like my git credentials)), then i copied back my three files and i had all my repositories which is the most important info i needed.
TLDR;
you can also apply for a personal free licence if you want to use stable version, obviously you dont want to do your project critical sstuff on preview version but for me preview works just fine because I mostly use command line and use smartgit just to view things on GUI I dont make commit or merge using this software I trust command line and I belive just viewing my project in preview version can not harm my project.
When I open smartgit via the terminal i get this weird looking icon with a question mark in my launcher. When i go "add to launcher", close smartgit again and try to open it via the launcher, nothing happens.
Use these properties to specify servers to connect directly to, bypassing the configured proxy, for example: *.foo.comlocalhost.Note, that only internal code of SmartGit is honoring http.nonProxyHosts.This does not include Git itself.
Set to false to disable the automatic checking and disallow the manual checking for new program versions by hiding the corresponding menu items HelpCheck for New Version and HelpCheck for Latest Build.You should only turn this check off for network installations where SmartGit users may not be able to perform the update themselves.When settings this option, you will probably also want to hide the corresponding page from the Preferences, using smartgit.preferences.updateCheck.visible.
Set to false to disable the automatic check for new versions on a global level which can be convenient e.g. for network installations.To disable the check for an individual installation/user, better do that in the Preferences, section SmartGit Updates.
Set to true to disable sending of crash footprints (even if configured in the Preferences) and skip the option to send bug reports to us.When setting this option, you will probably also want to hide the corresponding page from the Preferences, see smartgit.preferences.bugReports.visible.
By default, SmartGit will only look for a default license, if there is no or no valid existing license.Sometimes, it may be desirable to replace even valid licenses by newer default licenses.To do so, set:
The smartgit.vmoptions file contains a list of additional VM options which should be passed to the Java VM.VM options are basically arguments to Java and every argument must be declared on a separate line.
See Installation and Files for information about the default location and contents of the settings directory.On Windows and Linux, you can change its location by modifying the VM option -Dsmartgit.settings.
Within the value of smartgit.settings, certain Java system properties are allowed, such as user.home.Another accepted value is the special smartgit.installation property, which refers to the SmartGit installation directory.
The Updates directory contains downloaded program updates.See Installation and Files for information about the default location and contents of the Updates directory.On Windows and Linux, you can change its location by modifying the VM option -Dsmartboot.sourceDirectory.
On Linux and MacOS, you can extend the PATH used by SmartGit (and all processes invoked by SmartGit, especially Git itself) by adding path=/additional/path to smartgit.vmoptions.This path= lines can be used multiple times and will be appended to the PATH in the order of occurrence.
what numb-minded-ness is this, install tool a so that tool b can work?
I would really appreciate it if you would actually tell everyone how to get smartgit to work with ssh-keys without utilizing other tools
3a8082e126