Quickly switch to new branch with unstaged changes in Git
January 9, 2022 — Consider the scenario where you’re working on a Git branch called featureB
and you have a lot of unstaged files in this branch.
A blog on PHP, JavaScript, and more
January 9, 2022 — Consider the scenario where you’re working on a Git branch called featureB
and you have a lot of unstaged files in this branch.
January 6, 2022 — Well, this one blew my mind completely when I got to know about it. So, you probably are aware of the fact that the <img>
tag is used for displaying images on websites.
January 3, 2022 — You would reach for the git log command when you want to take a look at the list of commits for the Git repository you’re currently in.
December 31, 2021 — When you’re working with images on your website, it would be good if you can provide some sort of image magnification to your users when clicked/tapped/hovered over the images for better visibility.
December 27, 2021 — When you want to format certain Eloquent models before setting/retrieving in Laravel, you would certainly reach for the accessors and mutators.
December 24, 2021 — The year 2021 is about to end in a few days and it’s the best time we can look back and reflect upon the things we’ve done, achieved, or some important milestones and welcome the new year which is standing right in front of our doorstep.
December 22, 2021 — One of the most important features of ES6 is destructing of arrays and objects.
December 21, 2021 — Let’s imagine a scenario where you have a MySQL table called users
and there’s a column called secret
which holds a secret token for the associated users.
December 20, 2021 — Working with Laravel’s HTTP client, there might be the scenario where the outgoing HTTP requests that you’re making might return responses with different status codes.
December 16, 2021 — There comes a time when you want to clone a Git repository through GitHub or a similar client but at the same time, you don’t want the entire history of that repository.