Create branches
Duration: 2 minutes
Based on:
1. Set-Up
1.1 Open PowerShell window
1.2 Restore state from backup copy
Copy the code, right-click in PowerShell window to paste it and press Enter to execute
cd ~/Documents/git-workoutsCopy-Item bak-1.6 current -Recurse -Forcecd current2. Create branches
2.1 List branches
Type in PowerShell prompt and press Enter to execute
git branch
2.2 Create groups branch
Type in PowerShell prompt and press Enter to execute
git branch groups2.3 List branches
Type in PowerShell prompt and press Enter to execute
git branch
2.4 Create 3 more branches
Type in PowerShell prompt and press Enter to execute
git branch productsgit branch categoriesgit branch posts2.5 List branches
Type in PowerShell prompt and press Enter to execute
git branch
3. Wrap-Up
3.1 Make backup copy
Copy the code, right-click in PowerShell window to paste it and press Enter to execute
cd ..Copy-Item current bak-2.1 -Recurse -ForceRemove-Item current -Recurse -Force