Tracking remotes

Report a typo

Imagine you have a remote repo with three branches:

  • bugfix/fix-critical-issue

  • hotfix/urgent-patch

  • feature/awesome-feature

Your task is to:

  • Create local branches that exactly match the remote branch names.

  • Ensure that each local branch is set to track its corresponding remote branch (i.e. origin/branch-name).

Write your Git command(s) below line by line.

Write a program
# Write your Git command(s) below line by line

Create a free account to access the full topic