fbpx
Course Content
WHAT IS BASH?
• BASH is an acronym for Bourne Again Shell, a punning
0/1
WHAT IS GITBASH?
Git Bash is an application for Microsoft Windows environments which provides an emulation layer for a Git command line.
HOW TO INSTALL GITBASH FOR WINDOWS?
GitHub
About Lesson
  • Usage: git checkout[branch name]
  • This command is used to switch from one branch to another
  • [vagrant@master-]$ git checkout branch1
  • M file1.txt
  • M file2.txt
  • Switched to branch ‘branch1’

Usage:git checkout -b[branch name]

  • This command creates a new branch and also switches toit.
  • [vagrant@master-}$ git checkout-b branch1
  • M file1.txt
  • M file2.txt
  • Switched to a new branch ‘branch1’
Join the conversation