Skip to content

Instantly share code, notes, and snippets.

@thanhtam92
Created October 28, 2014 14:33
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save thanhtam92/d56563535760c1d6ad6b to your computer and use it in GitHub Desktop.
Save thanhtam92/d56563535760c1d6ad6b to your computer and use it in GitHub Desktop.
Changing SmartGit Free Trial License to Non-Commercial
Changing SmartGit Free Trial License to Non-Commercial
Some developers might overlook the license selection when using the SmartGit. Instead of choose non-commercial, they by default clicked Next on the “30 days Free Trial”. Worse thing is reinstall the SmartGit won’t get you to change the license.
To alter the license. First, go to
Windows: %APPDATA%\syntevo\SmartGit\<main-smartgit-version>
OS X: ~/Library/Preferences/SmartGit/<main-smartgit-version>
Unix/Linux: ~/.smartgit/<main-smartgit-version>
and remove the file settings.xml.
Then start SmartGit program again. This time you will be ask about all the Settings information, which including the license!
@thanhtam92
Copy link
Author

install git on centos:
https://webtatic.com/packages/git17/

@1MuhammadFarhanAslam
Copy link

there is no file named settings.xml is present there....please help me.

@thanhtam92
Copy link
Author

thanhtam92 commented Oct 26, 2022

Hi @1MuhammadFarhanAslam It's very old note, and maybe smartgit updated. I'm really not sure how to fix now, because I have not used smartgit in long time ago. If you are using ubuntu, you can try a suggestion at here: https://stackoverflow.com/questions/70811339/how-to-switch-with-smartgit-to-non-commercial-version-on-ubuntu-20-04

@kshestov
Copy link

Yoг can remove "evaluation" file

@losbojos
Copy link

losbojos commented Jan 7, 2023

I can't find the directory .smartgit in Ubuntu Linux

@mauricewells
Copy link

mauricewells commented Jan 10, 2023

please install the previous version again(smartgit-win-21_1_7 was ok for me)
and please tick the non-commercial option while installing

@PietroFossati
Copy link

please install the previous version again(smartgit-win-21_1_7 was ok for me) and please tick the non-commercial option while installing

I confirm, the older version is ok: https://www.syntevo.com/downloads/smartgit/smartgit-win-21_1_7.zip

@D0nVitalio
Copy link

Thus I recommend delete C:\Users\YOURNAME\AppData\Roaming\syntevo and install v.21 https://www.syntevo.com/smartgit/download/archive/

@losbojos
Copy link

losbojos commented Jan 21, 2023

I can't find the directory .smartgit in Ubuntu Linux

I found and deleted the configuration files in Linux in the folder ~home/.config/smartgit. Installed the older version 21 and the problem has been solved.
Thanks to everyone who responded!

@hound672
Copy link

hound672 commented Mar 4, 2023

Now i received message that smartgit will stop working on May 30 (even old version).
So does it mean that there is no way to use old version for non commercial?

@Chester-Gillon
Copy link

So does it mean that there is no way to use old version for non commercial?

Found Non-commercial licensing changes for SmartGit 22.1 which explains the change in license. It has a link to Apply for Non-Commercial License. I haven't yet attempted to apply using the Open Source application via GitHub.

@vijes
Copy link

vijes commented Apr 4, 2023

solicita para la licencia n comercial , que tengan un minimo de 100 aportes en github para autorizarla.. =(

@mametjunior212
Copy link

Yoг can remove "evaluation" file

thanks

@PietroFossati
Copy link

So does it mean that there is no way to use old version for non commercial?

Found Non-commercial licensing changes for SmartGit 22.1 which explains the change in license. It has a link to Apply for Non-Commercial License. I haven't yet attempted to apply using the Open Source application via GitHub.

Did you find a solution for "Non-Commercial License" without a GitHub account that respect "everyone who spends the majority of their work on open-source projects (before, it was only “to actively work on open-source projects”, which is significantly more restrictive)"?

@awalti
Copy link

awalti commented Aug 27, 2023

For me it's back to my previous client. I don't fit their idea of a non-commercial user but the hobby license is too restrictive for me.

@alxpsr
Copy link

alxpsr commented Sep 8, 2023

For me it's back to my previous client. I don't fit their idea of a non-commercial user but the hobby license is too restrictive for me.

Which client do you use?

@bfd69
Copy link

bfd69 commented Jan 11, 2024

same here, i work for education but the process seam too complicated to get a free licence

@alxpsr
Copy link

alxpsr commented Jan 24, 2024

Sup guys. I use now v20.2.6 without any troubles. You can edit your smartgit.sh file for auto-reset trial period as follows:

config="/home/$USER/.config/smartgit/<YOUR_SMARTGIT_VERSION>/preferences.yml"
# current date in msec + 25 days
NEW_DATE=$(date -d"+25 days" +%s%3N)
# sed is for change old date for new one in config
sed -r -i "s/(listx: \{eUT: )[0-9]+/\1$NEW_DATE/g" $config
sed -r -i "s/(, nRT: )[0-9]+/\1$NEW_DATE/g" $config

If you use your SmartGit instance as deb-package probably your smartgit.sh located at /usr/share/smartgit/bin/smartgit.sh

@MrBobFreeman
Copy link

@alxpsr this is very elegant and works great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment