Branching for Version Control with Git and Github

Branching is a very important aspect in version control

Typical Branching in Git
Git branch command

Creating a new branch

Git new branch creation
Creating a branch named dev

Changing to another branch

Git commands to change branch
Moving to another branch

Merging Branches

list of branches in project
  1. Back in the dev branch, we must apply these commands to get the files ready for merging:
git merge command
Original dev branch
modified dev branch
original inventory branch
merged inventory with dev branch

--

--

--

Poultry Scientist by profession, Computer Scientist at heart. After many years in the poultry business, I have decided to give my passion for technology a shot.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Diagram Driven Cloud Infrastructure with Cloud Maker — Łukasz Gąsior

My GSoC Journey with Mifos Initiative

SQL Most Commonly Asked Interview Question | 5 ways to Solve it.

XOR operator in JAVA

Alnair Finance — Upcoming events (Part 5)

My Favorite macOS Extensions

Open Source Analysis Checklist

Learning SwiftUI : Building Lists and Navigation

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Marc Frappier

Marc Frappier

Poultry Scientist by profession, Computer Scientist at heart. After many years in the poultry business, I have decided to give my passion for technology a shot.

More from Medium

Restoring Lost Commit on Git using Reflog Command

Why GitHub is an essential tool for team collaboration.

Getting To Know OAuth 2.0