12

I've been using GitKraken on Windows for various projects and now I have to do some development on a private network (no internet access). But when I start the application it asks me to create an account. I can't do that on this network.

How can I configure GitKraken on this network without creating an account?

Or B
  • 1,675
  • 5
  • 20
  • 41
corsarg
  • 123
  • 1
  • 1
  • 5
  • https://twitter.com/gitkraken/status/691648833894387712 - Initial usage requires you to be online to register the product, Axosoft themselves even say so. – wkl Sep 01 '16 at 13:21
  • Yeah, I read that too. I was hoping for some solution otherwise I'll have to use some other product, but gitkraken really does the job well. – corsarg Sep 07 '16 at 15:58
  • Don't think there is a solution that will work if you're not connected to the public internet. It's not a product that was designed to run on private/internal networks or offline. You can try reaching out to Axosoft but they will probably give you the exact same information. – wkl Sep 07 '16 at 16:46
  • 2
    This is, however, a very common scenario for sensitive projects, although obviously not their target audience. – jehuty Feb 17 '17 at 11:00
  • 7
    Only me finds out pretty lame to create an account just to use a local repo or even if you want to use a repo in the cloud to create an account only to integrate it to your existing account? There's not a single good excuse for asking to create an account for a tool will run local – jean Sep 19 '18 at 16:28

3 Answers3

14

You need to take (for Windows): ...\user\AppData\Roaming\.gitkraken and ...\user\AppData\Roaming\GitKraken from machine with internet access and place it to machine with a private network.

kosteman
  • 156
  • 2
  • 3
6

Just go to YOUR_USER_FOLDER\AppData\Roaming\ .gitkraken folder and open config file. Edit date to many years later. If it did not work, remove .gitkraken folder, run the app, login with fake email and password, and edit config file again. Have fun.

Ali.Rahmanian
  • 57
  • 1
  • 2
  • Edit what date? Do you mean make a fake account from a computer with internet access? – drzaus May 09 '17 at 15:36
  • No. Just enter an optional username and password. – Ali.Rahmanian Aug 01 '17 at 12:10
  • There is only one "date" key under "registration" key. – Ali.Rahmanian Aug 01 '17 at 12:18
  • There is nothing to edit unless you've connected from a computer _with internet access_ (as mentioned by the [accepted solution](https://stackoverflow.com/a/41542549/1037948)) – drzaus Aug 04 '17 at 16:07
  • My pc at work does not have access to internet and I did the work successfully. Maybe because I have local network access. – Ali.Rahmanian Aug 06 '17 at 05:58
  • I can confirm this works! GK downloads and installs as expected but asks for an account every time it opens. Just close the logon window and in the top bar click [Not now]. Enjoy using it until the date you put (many years in the future) – jean Sep 19 '18 at 16:24
  • 3
    The "not now" appears to have gone, and it's not obvious which config files this answer is referring to. (there's a whole folder full of various files, none of which appear to have an account details placeholder) – RJFalconer Jan 08 '19 at 10:53
0

To use Gitkraken without network access on Linux you will need to copy files from an existing account that has been setup and connected whilst connected to the internet.

existingUser : the user that has already been setup whilst connected to internet

newUser : the user that will need access without internet access (eg. root user)

Open shell and run the following, replacing existingUser and newUser with the appropriate users:

#First I backup the GitKraken settings as these weren't working:

su newUser
cd ~
mv .gitkraken .gitkraken.dud

#Now I copy the working GitKraken settings from the existingUser
cp -r ~existingUser/.gitkraken  .

# Now run gitkraken
gitkraken
Bastion
  • 761
  • 10
  • 10