Skip to content

updated script.ps1 with updated branch syntax utilizing git switch and correct switch #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Part02MasterGit/Script.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ gitgraph
#When we switch it also updates the staging and working directory for the checked out branch

#To create and checkout in one step:
git checkout -c branch1
git switch -c branch1

#To push a branch to a remote.
#The -u sets up tracking between local and remote branch. Allows argumentless git pull in future. Will do this later
Expand Down
2 changes: 2 additions & 0 deletions Part02MasterGit/dm.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
name, alias, power
Superman, Clark Kent, 100