Understanding git pull and How It Differs from git fetch
In this blog post, we’ll talk about two common Git commands: git pull
and git fetch
. They might look like they do the same thing, but they’re actually different. We’ll explain what each command does and highlight their main differences.
Read more
Read moreHow to Discard Your Local Changes in Git: An Illustrated Guide
As developers, we’ve all encountered situations where we make changes to our code, only to realize later that those changes were unnecessary or need to be discarded. Git, the powerful version control system, provides a straightforward way to undo or discard local changes and revert to the last committed state. In this blog post, we’ll walk you through the process of discarding local changes in Git using practical examples.
Read more
Read moreHow to Amend a Git Commit Message
To amend or undo the previous Git commit message, you can use the git commit --amend
command. Here’s how you can do it:
Read more
Read moreHow to Manage Multiple GitHub Accounts on the Same Machine
As developers we normally have to juggle around multiple GitHub accounts on the same machine. For example we have our own personal GitHub account for our own project and then another GitHub account that we use for our client project.
Read more
Read moreHow to Install Git on Mac and Generate SSH Keys
In this step-by-step Git Tutorial, we will go through how to install Git on a Mac machine, how to generate SSH keys and upload your public SSH key to your GitHub account for authorization.
Read more
Read moreGit Commands Every Tester Should Know
This post is a Git Cheat Sheet with the most common Git commands you will likely use on a daily basis.
Read more
Read more