- #RUBYMINE GITHUB TWO FACTOR AUTHENTICATION FOR ANDROID#
- #RUBYMINE GITHUB TWO FACTOR AUTHENTICATION PC#
Now the worst part - picking up the name for token, so if you call your computer for example Anton I suggest something like IDE settings - Anton so you know where it’s used and if you replace Anton with another machine you will know which token to remove. To generate new one you need to go to your account settings→Developer Settings→Personal Access Tokens and click “Generate new token” button You may be asked for GitHub login/password but it is recommended to use an access token that you can generate for each machine separately on your GitHub Settings page. You will now have to paste the link to your new repo and click Override Remote - this is like initial commit and push for your settings. I believe most developers already have an account there and since some time ago private repos are free.Īfter setting the repo copy its HTTPS addressĪnd go to IntelliJ File→Manage IDE Settings→Settings Repository, or CMD+Shift+A and type settings repository if you are lazyass like me. I recommend starting with creating new repository for your settings on GitHub. There is another option to sync your settings in IntelliJ Idea, with official JetBrains plugin IDE Settings Sync IDE Settings Sync but it has rating 2.1 out of 5 with a majority of 1s so… I stick with setting repo.
#RUBYMINE GITHUB TWO FACTOR AUTHENTICATION FOR ANDROID#
I use the same repo for Android Studio and IntelliJ settings since I like to have the same settings for keyboard shortcuts, macros, default code style, etc. So I used the same repo on all machines (ok on 2 yet) and it looks like it’s solving my problem. What it does is basically storing your settings in the repository of your choice and automatically synchronizing local settings with those in the repo. Today by a complete accident I found that there is a thing called settings repository. And the other way around multiplied by the number of machines.
#RUBYMINE GITHUB TWO FACTOR AUTHENTICATION PC#
If I find some setting that improves my workflow at my office machine, and after some time I want to work on a pet project on my own PC - I get this itch of not having this setting I had on MacBook… so I can export my settings and then import it. Keeping my IntelliJ settings in sync at all of those machines wasn’t really possible. My setup looks like this: I have Windows PC with Linux installed on a separate drive, also I have 2 MacBooks for work, and rarely used Linux ThinkPad.