Learn Git from the very basic

You can think of this post as an online course to learn Git for free. I will walk you through very basic steps such as definition, installation, command
Read More →How to git push after rebase?

In this post, you'll know how to perform a successful git push after rebase. Pushing changes to the remote origin is nothing new. But there are some
Read More →When should you use git rebase?

Git rebase allows you to integrate changes from one branch into another. You can apply commits from the source branch to the target branch. But when
Read More →Git add all - how to stage all changes on git?

To add all files & folders on git, use the following command: git add -A This command will stage all the changes for the next commit. There are some
Read More →How to remove file from Git?

In this post, you'll see how to remove file from git in different contexts. If you committed a file by mistake and pushed it to the remote origin, there
Read More →Git switch branches: How to checkout the git branch?

When you work on different git branches, you may need to switch between branches in your command line (terminal). In Git's terminology, switching branches
Read More →How to undo the last Git commit?

There are a couple of options for undoing the git commit. Also, there are two scenarios where you may need to undo the last git commit. Such as undo
Read More →How to undo the git add -A command?

If you accidentally ran the git add -a and if you want to undo this command, follow the step below: First of all, check the status by git status This will
Read More →How to change the git commit message?

This post will show you how to change the git commit message. And this commit could be the last one or a specific number of commit such as the 5th or 6th
Read More →How to remove or unstage a file from Git commit?

This post will show you how to remove or unstage a file from the git commit. Note that it's different than removing a file from git. Anyways, if you make
Read More →