You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In 2023 version of demo, I used "git pull origin newBranch" to pull down a branch newly created on the remote to the local repo. However, this is really dangerous because if the new remote branch has any changes, then those changes will be merged into the local branch that the user does the "git pull" command from! I missed this before because I didn't have any changes on the new remote branch before pulling it down.
The safer way to do this is to use "git fetch origin" on the local, and then you can git checkout to switch into it as normal. Be sure to fix and test before next year!!!
The text was updated successfully, but these errors were encountered:
In 2023 version of demo, I used "git pull origin newBranch" to pull down a branch newly created on the remote to the local repo. However, this is really dangerous because if the new remote branch has any changes, then those changes will be merged into the local branch that the user does the "git pull" command from! I missed this before because I didn't have any changes on the new remote branch before pulling it down.
The safer way to do this is to use "git fetch origin" on the local, and then you can git checkout to switch into it as normal. Be sure to fix and test before next year!!!
The text was updated successfully, but these errors were encountered: