Home > Software design >  why do i not have the same data when pull github
why do i not have the same data when pull github

Time:11-12

i am triying to pull a branch in my local but i didn't have the same data like in github repository, in the terminal, says: Already up to date.

For examples in my github repository, i have a file named data.json, the content of this this is not the same as the data.json i have in my local repository.

Here is the github link : enter image description here

CodePudding user response:

i found it, actually i was in a gitlab repository and not github, that's why. i had to remove the origin and re-add it and pull the branch

CodePudding user response:

You see to have the public/data.json from commit ded8223

Check what git status tells you, as well as git branch -avv, in order to double-check where you are in this repository history.

  • Related