Git delete master branch
In this article, we have presented the technical details why deleting a master branch is not straight-forward and presented the commands to delete the master branch of any Git repository (local or remote) and also, covered the case when the repository is hosted at GitHub, GitLab or BitBucket.
Git: git remote add command
git remote add command is a basic git command which add a remote repository as an origin of your local repository. The basic idea is that the remote repository is the final working repository which is considered by everyone and your local repository is your local copy holding your changes
Git add command: track a new file
In this article, we learnt how to track a new file in a project using Git. In the process, we explored the git add command to add a new file to tracking, touch command to create a new file and git status command on two different occasions to explore the status of the content tracked by Git.
Git: git status command
In this article, we have explored the git status command which gives us information regarding our current branch, remote repository, changes that have been staged for commit and changes that have not been staged for commit. In the process, we have explored the clear command as well.