Git to discard uncommitted changes in your working directory
⛶git restore .
Moves the last commit back to the staging area (index), keeping all changes.
⛶git reset --soft HEAD~
Moves the last c...
Recap of Day 4Git Merge – Combining changes from one branch to another.Git Switch – Switching between branches easily.Git Branch – Creating and managing branches in a repository.
Today's...
You now know a little bit about HTML and CSS. It is time to add a new skill to the mix. Let me introduce you to Git and Github.This is the next class in the front-end developer track for Skillcrush an...
Today morning, as any other work day, I logged in to my GitHub account to check the status of my open pull requests. I saw I had some merge conflicts and I needed to sync with the main.I found myself ...
Version control has become a non-negotiable in today’s fast-paced development world, and GIT stands out as a powerful tool for managing code efficiently. Most developers are familiar with commands l...
Handling large file uploads can be challenging, especially when you need reliability, reusability, and good performance. In this post, I'll walk through creating a micro service specifically designed ...
Table of Contents
Introduction
1. Quick Overview
2. Patching branches
Conclusions
Introduction
For a long time, I struggled finding the perfect Git strategy for my projects.Many tim...
Why Git?
I use Git to track my code changes (like a time machine for code 🕰️) especially in team projects. No internet? No problem work offline, push later. Plus, it’s a lifesaver when...