If you have multiple accounts on Github (or whatever git repository host you use) then it can be a little confusing knowing which user you are committing as and how to switch to a different user. In this post I'll show you an easy way to switch between users from the command line.
0 Comments
I was recently at a Meetup watching over the shoulder of web development and Angular guru, Daniel Zen. I saw him working in his command line and he would easily open the current directory in WebStorm by typing, "webstorm ." into the terminal window. However, when I tried I would get the error message, "-bash: webstorm: command not found". This post is about installing the webstorm command line tool so that you can use this easy, nifty project opening shortcut.
This is an interesting problem that I just solved yesterday- creating a CNAME file from a Travis CI server.
I stumbled across this answer while looking at this stack overflow post. I thought it was such a great solution to my problem that I decided to write a blog post about it to help me not forget it.
I'm almost embarrassed to be admitting that I was Googling this today, but for some reason I am always forgetting the shortcut key to delete your current line in terminal. As a node.js enthusiast, vim user, and avid terminal user I often find myself hitting the up and down keys to cycle through my previous commands, but then I realize that I just want an empty line in the prompt so I can just type something. I hate sitting there mashing the backspace key and always thought to myself, "there must be a better way". This is that better way!
|
AuthorThe posts on this site are written and maintained by Jim Lynch. About Jim...
Categories
All
Archives
March 2023
|