4 ms·
> There's no guarantees that I haven't rebased main, You may have rebased your local main branch, but that doesn't affect your origin/main reference. > or tha
by nemetroid 5y ago
> There's no guarantees that I haven't rebased main,
You may have rebased your local main branch, but that doesn't affect your origin/main reference.
> or that I have all of the branches that were stored on the remote.
Everytime you pull or fetch, you get all the branches stored on the remote. Of course, you're not going to have any branches that were added after the last time you communicated with the remote.
> If something catastrophic happens to our main remote, which one of our versions do we restore to?
The origin/main that's the most recent.
- maccard 5y agoSorry I missed this reply: > that doesn't affect your origin/main reference. Who is to say that my origin/main is the same as your origin/main, or that my origin is the same as what our running application is using as it's origin? > Of course, you're not going to have any branches that were added after the last time you communicated with the remote. Exactly, so you're relying on the fact that _someone_ has the latest version without actually verifying it. > The origin/main that's the most recent. Assuming all our origins are the same.