To expand on this a bit, git pull
under the hood is basically a shortcut for git fetch
(get the remote repository's state) and git merge origin/main main
(merge to remote changes to your local branch, which for you is always main).
When you have no local changes, this process just "makes a line" in your commit history (see git log --graph --decorate
), but when you have local changes and the remote has changed too, it has to put those together into a merge commit - think a diamond shape with the common ancestor at the bottom, the remote changes on one side, your changes on the other side, and the merge of the two at the top.
Like the above comment says, normally this process is clarified at the command line - VSCode must be handling it automatically if there are no code conflicts.
So maybe you've heard something I haven't, according to this timeline, there was only 2-3 minutes between when the ship issued a mayday and the bridge collapsed: https://www.cbsnews.com/news/francis-scott-key-bridge-collapse-timeline-911-call-dali-cargo-ship-mayday-maps-construction-worker-recovery/
It sounded like there was 1 police officer already stationed on either end of the bridge, so thats the only reason they were even able to close the bridge before the collapse.
In the time it took them to do that, I can't see how there would have been time to warn them physically (it's like a 2 mile bridge). From the article, it sounded like there was confusion about if a crew was even on the bridge. I also don't know how often / what mechanism police can use to directly contact crews, if there even is one.