Github all commands you need to know

Here is a cheatsheet for all the GitHub commands. 1. git help Take help from GitHub help section for different commands and other errors 2. git init To create a local git repository for us in our store folder. This will help to manage the git commands for that particular repository. This means “Initialise a […]

git citool and git mv commands

Here are the commands for git citool and git mv commands. git citool is a graphics alternative of a Git commit. git citool If you want to rename a git file, you can use this command. git mv [OLD_FILE_NAME] [NEW_FILE_NAME] Related Git commands and Tutorials. Git config username and password global GitHub – Repository Handling […]

git cherry-pick and git archive commands

Let’s learn git cherry-pick and git archive commands. 1. What is git cherry-pick This command is the most important command in your programming life. You can pick any commit from your branch that you want to merge with any other branches git cherry-pick [COMMIT-HASH] git cherry-pick doesn’t change or modify repository history. git cherry-pick does […]

How to do git fetch – Git fetch example commands

Let’s learn “How to do git fetch – Git fetch example”. The git fetch command downloads commits, files, and refs from a remote repository into your local repo. git fetch origin git fetch origin [BRANCH_NAME] Simply we can say, git fetch [alias] Then you need to rebase those changes git rebase If you have any […]