Skip to content
Discussion options

You must be logged in to vote

Nothing you did is silly. This is a very common Git confusion.

The issue is not the editor, not the branch name, and not the remote URL.
The real issue is how the second user got the project.

Even though both users started with the same files, they did not start with the same Git history.

Git does not care that the HTML files look identical. Git only cares about commits and their ancestry.

Here’s what happened:

User AAA created the repository and made the first commit.

User BBB did not clone the repository.

Instead, the folder was copied manually.

Because of that, user BBB created a completely separate Git history, even though the files were the same.

So when BBB runs:

git fetch

Git corre…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@DarthScion
Comment options

Answer selected by DarthScion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants