Visual Studio Code has surprisingly evolved to become my code editor of choice now. It's lightweight, has a great git diff tool, and supports pretty much any coding language you can think of (well, with extension or two maybe).
0 Comments
At a new job my coworkers flamed me for not having git bash-completion in my terminal (Lol, really though). Well, they could have asked me in a nicer way hehe, but I shall still be thanking them for helping me to make my command line even more awesome! By the way, I added git bash-completion as a step in my ultimate pretty command line guide which you should definitely check out if you haven't already, but this post is specifically about git bash-completion and why you should use it, and I hope by the end of it you have git bash-completion installed in your terminal too! 😉
Sketch is a decent vector drawing program for mac and windows, but it has a pretty BS licensing policy that says any individual must buy a separate license for every computer he or she owns (check here if you don't believe me). Once I discovered that I said to myself, "yeah, fuck that" and proceeded to look for another vector drawing application. However, I found this nifty little github repo containing an application that will run Sketch as if it's been licensed! 😈
This is a little thing that tripped me up, and I'd like to write this blog post so that I don't forget it!
Regardless of what language you're coding in, you need to use some type of version control for any serious project. Personally, I like using the command line to push my code to a git repository (and if you're going to try to argue that your git GUI client is better- please, the command line is faster to use, lighter on your machine, and just gives you the most control). Although I love using git from the shell, I found myself repeatedly doing the same three commands over and over:
Originally, I was just looking for a way to at least combine the add and commit steps into just one command. I learned that you could add a "-a" flag onto the end of commit, but that's not quite the same as add -A. I even started this reddit thread about the subject, and it was from these answers that "git gg" was born.
|
AuthorThe posts on this site are written and maintained by Jim Lynch. About Jim...
Categories
All
Archives
March 2023
|