Laur's blog
  • Home
  • About
  • Support my work
Sign in Subscribe
git

Avoid Typing Password on Git Every Time on Windows

  • Laur Ivan

Laur Ivan

Apr 14, 2016 • 1 min read
Avoid Typing Password on Git Every Time on Windows

Today I've updated Android Studio and, when I wanted to fetch stuff from git, it failed (connection issues). Initially, I thought it was because I'm behind a proxy, but all proxy settings were working OK (unchanged, also command line worked just fine).

Apparently, the git plugin doesn't ask (anymore?) for a password... So, I need a way to allow me not to type in the password every time (while still using https as protocol).

There are more ways to solve the problem:

  1. Put the passowrd in the URL. This is obviously the most insecure; you'd end up with something like

    git checkout https://user:password@host:port
    
  2. If you're using a git version > 1.8, then you can do (on windows):

    git config --global credential.helper wincred
    
  3. Newer git comes with its own management thing which uses the OS security. You'll get a nice dialog prompting you for credentials. It seems that once you've entered them correcly, they're reused every time (no timeout).

HTH,

Install MinIO on TrueNas

Install MinIO on TrueNas

An update of MinIO in June 2025 removed the admin console from the UI, leaving you only the command line. So, now you have to use the CLI (mc) to set things up like users, buckets ... This tutorial aims to provide a minimal set of instructions so you can install
Oct 19, 2025 1 min read
Set Up MinIO Console on TrueNas
Featured

Set Up MinIO Console on TrueNas

An update of MinIO in June 2025 removed the admin console from the UI, leaving you only the command line. Fortunately, a fork called minio-console restores this functionality. This is a tutorial on how to set up minio-console on TrueNAS if you have an existing MinIO instance (updated). Note: If
Oct 19, 2025 2 min read
Logging in Rust

Logging in Rust

I need to record the logging from my application. According to this, rust can do logging via the log crate: use log::{info, warn}; pub fn example() { info!("Here's some info"); warn!("This is a warning!"); } In addition, you can use the env_logger
May 31, 2025 1 min read
Laur's blog © 2025
  • Sign up
Powered by Ghost