Learn how to show a time indicator on the screen that updates in real-time. Ideal for making clocks, chronometers or countdown, the process is the same and uses Date and setInterval.
Dates are essential information in any application. It is very common to have to know the difference in months, days, or even seconds between one date and another. To help, I have written this useful step by step for any case.
From time to time we end up accumulating several branches in our repositories. Here's a tip on how to delete a branch both locally and remotely.
Learn how to rename branches in Git the right way. According to the documentation, to rename a local branch in git there is only one command: git branch -m "new-name". But learn the right convention.
The git fetch command can be used to download all commits from the remote repository without affecting your local code. Basically, git pull does first a git fetch followed by a git merge origin/master.