I update index.html and delete files, but github does not update

3

I started a project on GitHub (I'm starting now with it), and everything was working perfectly. From one moment to the next, he stopped refreshing. I, within the GitHub site itself, delete files, change the contents of index.html and nothing to update it when I open the project link.

Updated Project

Project page

Will I have to delete this repository and redo?

    
asked by anonymous 18.06.2016 / 17:44

1 answer

2

The possible error

Check the time of your posts with the time zone of the Github website, as this is a very common error in that it is reported since when you are going to post something in Github there is a difference of time zone causing the user to have wait for the time difference between the time zones to appear to update your posts.

How to fix

Looking further, I found that their UTC is from Pacific Time (UTC-8) where their servers are, or the difference between them and Brazil's time is 5 hours.

What is UTC?

  

The UTC time, as we can see, is the reference time of the Greenwich Meridian, which crosses the United Kingdom, where in particular is located a famous observatory - The Royal Observatory, located in Greenwich Park - existing since 1884 This is therefore the time reference used throughout the world.

     

Follow ISO-6709 standards to be able to set UTC for each place.

But what is ISO - 6709?

  

ISO-6709 is a standard representation of geographic location by coordinates and is the international standard for the representation of latitude, longitude, and altitude for geographic location locations.

Adjust time zone

You can try to make this difference to match the times, add in the headers while doing the post, the following:

curl -H "Time-Zone: America/Sao_Paulo" -X POST https://api.github.com/repos/github/linguist/contents/new_file.md

This part of the "Time-Zone: America/São Paulo" code will cause you to get the Brasília time (UCT - 3) and synchronize with your posts.

NOTE: If you are in other places outside the state of SP, I suggest you take a look at this list and then replace it according to your place:

    America/Fortaleza - MA,PI,CE,RN,PB
    America/Araguaina - Tocantins
    America/Cuiaba - Mato Grosso
    America/Campo_Grande - Mato Grosso do Sul
    America/Belem - Pará,Amapa
    America/Porto_Velho - Rondonia

There are a maximum of 556 zones that follow UTC, be careful when making changes and always look for UTC that follows ISO 6709 patterns.

What if it was not? So ... patience

Wait a while to see if you update the information, but to be precise, this time zone difference (5 hours).

Articles / Documentation to find solutions to many other problems:

link

link

link

Documentation for better information

Take a look at the following documentation for a better understanding:

link

link

    
18.06.2016 / 18:53