Laur's blog
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,

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
Connect MCP Server Developed in WLS to Claude

Connect MCP Server Developed in WLS to Claude

I'm developing a MCP server in WLS because I'm using WLS for development in general. I've installed Claude desktop to play around with it and I had trouble connecting my server. Short of moving the codebase to windows, this post describes what I did
May 23, 2025 2 min read
Vibe Coding - Add a field to a Qdrant collection

Vibe Coding - Add a field to a Qdrant collection

I have created a Qdrant collection off a repository of mine and I had the following payload fields: * file_name - the source code file name (path actually) * branch - the git repository branch that I have indexed * repository_name - the git repository name * chunk - the text chunk
Apr 2, 2025 2 min read
Laur's blog © 2025
  • Sign up
Powered by Ghost