-d in go get

Saturday, I am sitting at a Starbucks in Bangalore, trying my hands on a Golang project. I come across this argument -d in go get: The go CLI help says: The -d flag instructs get to stop after downloading the packages; that is, it instructs get not to install the packages.

2018-10-12 · 1 min · Sayan Chowdhury

Exit Vim in between Git operation

Long I have been procrastinating over this. Whenever I had to quit out of the Vim while doing git-rebase interactively I would be going over to a new terminal window, and perform git rebase --abort and then close the other window too. Today, I learned if you ever want to quit Vim either while committing or rebasing, just do :cq. This quits Vim with an error code, and Git will abort the action....

2018-09-08 · 1 min · Sayan Chowdhury

Notes: GTD and Taskwarrior

The posts tagged with notes are stuffs that I learned over time from blogs, articles, trying out on my own. The posts will be updated whenever I learn something new on the topic. This post can be easily read anytime and anywhere. Also, they can be easily shared. Do comment/point out if something is wrong out there. Inspired by Julia Evans http://jvns.ca/ to write these posts. What is GTD?...

2016-05-13 · 4 min · Sayan Chowdhury

Git Password Caching

Bookmark for me. To use this option, you need to turn on the credential helper so that Git will save your password in memory for some time: $ git config --global credential.helper cache # Set git to use the credential memory cache By default Git will cache your password for 15 minutes. You can change this if you like. git config --global credential.helper 'cache --timeout=3600' # Set the cache to timeout after 1 hour (setting is in seconds) Ref: https://help....

2014-06-10 · 1 min · Sayan Chowdhury