IAC - Version Control
GITHUB
GITHUB
  • Background
  • Setting up GitHub
  • Windows
    • Working with a cloned repo
    • Populating a repo from local files
    • Integrate VSCode
  • Linux
    • Using SSH
    • GH Command Line
  • The Basics
    • Forks
    • Logs
    • Undoing Local Changes
  • Larger Projects
    • Setting up a repo
    • Creating my Branch Architecture Locally
    • Creating a Feature Branch
    • Creating my Branch Architecture on GitHub
    • Merging the changes from GitHub on my local machine
    • Merging the changes from my local machine to GitHub
    • Sync the branches in GitHub
  • Finally
Powered by GitBook
On this page
  1. Larger Projects

Creating my Branch Architecture on GitHub

PreviousCreating a Feature BranchNextMerging the changes from GitHub on my local machine

I didn’t do a push, so I can see right now that I have only a single branch on GitHub.

To create a branch test from Main, I make sure Main is selected and the enter my new branch name.

I’m going to create a branch as if I was doing a bug-fix. I create a branch from Test called bug-fix-readme and I make a trivial edit so I can track the change.

I commit the change.

If I change to the Test or main branch, this change will not appear. Check that in your own exercise to verify.