Excluding files (and folders) with git add

When you’re using git add, there is a chance that you might be in a situation where you want to include a bunch of files (or folders) but exclude only some of them. Adding each file one by one manually is, of course, unthinkable, but thankfully there is a very short and sweet way to do it.

Read More

async and await: Promises Simplified

Promises in JavaScript were there to save the day from being stuck in callback hell. But the thing is, .then() chains could eventually turn into a hell of their own. Since the human mind works synchronously, it might be hard to grasp asynchronous code when it becomes too tangled. Luckily, we have yet another thing to save the day — async and await!

Read More