A file can be removed easily from Git index and working directory by Git rm command. For example:Demos and Full Guide
The merge command is used to join the histories of two or more developments. For example, if your main branch is the master branch and you started working on another branch called feature branch.Demos and Full Guide
The pull command with force option is not available like the push with -flag. However, you may do it by other ways. This tutorial explains two ways of “git push” force.Demos and Full Guide
This tutorial explains how to add a new remote repository, a branch, and file in the remote repository from the terminal (Git Bash).Demos and Full Guide
In this tutorial, the author discusses three ways of undoing the commit in Git. The three ways are using reset, commit with amend and moreDemos and Full Guide
In this tutorial, three ways of listing local and remote branches in Git are explained with examples.The branch command with various options can be used.Demos and Full Guide
As we run $ git pull command, the pull command executes git fetch and downloads the content from the remote branch.This is followed by execution of merge operation.Demos and Full Guide
In this tutorial, I will explain how to remove Git branches locally as well as in remote server. You may use –d flag for removing the local branchDemos and Full Guide
If you have multiple branches in your repository then switching from one branch to another is easy. For changing one branch to another use the checkout command as described below. Suppose we have a master and hello-git-branch in our repo.…Demos and Full Guide
This tutorial shows you how to create new branch in Git (locally and remotely). For details, see the section after the general command belowDemos and Full Guide
PHP provides built-in functions for uppercase, lowercase and camel case conversion. This tutorial explains how to use these with examples.Demos and Full Guide
The PHP rand function generates a random number (integer) from zero to maximum number returned by getrandmax() function. The maximum number in windows platform can be (for example) 32768.Demos and Full Guide
In many scenarios, you may require entering multiple rows by using single query of SQL. In this tutorial, I will show you how to enter two or more records by INSERT INTO statement.Demos and Full Guide
The primary key (or keyword) is used to identify each row in a relational database table. It ensures that the tables do not contain duplicate records.
The primary key consists of one or more columns that contain unique values.
The MySQL DATEDIFF function returns the number of days between two given dates. The DATEDIFF takes two arguments as shown in the example belowDemos and Full Guide