01947-888 197click-to-talk

Category: Git

Git is one of the most popular version control systems in the world. It helps you to keep track of changes to your project.


Learn Git from the very basic

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?

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?

When to 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?

stage files in 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?

How to remove files 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?

Git switch branches

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?

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?

Undo git add -A

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?

How to change 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?

Remove 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 →