#tips
Read more stories on Hashnode
Articles with this tag
Say you have added main.js to the staging area but later you realised that you don't want to commit it. You have two ways to achieve it. The old...
After creating new files and editing existing files, we want to add them to the previous commit i.e. rewrote the previous commit. First, add all the...
Use the --amend flag git commit -m 'removing sponsor from READMe' To rectify the above commit message, type git commit --amend -m 'removing sponsor...
In insert mode, use ctrl+o to go to normal mode for just one command: ctrl+o h - move cursor left ctrl+o l - move cursor right ctrl+o j - move cursor...
Using the very popular vim-surround plugin, we can accomplish this task easily. Here, we have five anchor tags. <a href="#">Home</a> <a...
To Yank an entire HTML element, there are two easy ways: yat vaty