Technology Insights

How To Switch Between Git Branches From The Linux CLI

If you are using Git for version control then it is likely at some point you will have a project with multiple branches of code. The benefit of this is allowing various developers to work on different projects while providing an easier way to merge the code when the developers tasks are completed. One developer may be working strictly on big fixes that could need to be checked in daily while another developer may be working on a project that may take months to complete and git provides a system to merge these code branches together. Below is a quick reference for switching between Git code branches.

Technology Insights

Delete a Remote Branch from GitHub

Deleting a remote branch from a GitHub account is easy though I have seen numerous ways listed and only one of them worked for me possibly because of syntax errors. Sometimes a temporary branch may be necessary because of adding a contractor to work on a project or possibly just to pause the current projects to get something pushed out quickly.

Use the syntax below to remove a branch from