why do i not have the same data when pull github

Issue

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 : https://github.com/Meriemu/TestCaseLvmh/blob/feature/slider/public/data.json

And here is a screnshot of my local data :
enter image description here

Solution

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. My answer could help others, maybe…

Answered By – Meryem ACHEMLAL

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published