I am working on a custom modification of the tzdata package. Before knowing how to use git, I used to customize the server by modifying files directly on the server. Now I learnt to use git in this company, and I found the "tzdat-au" repo from the github below:
https://github.com/tedjp/tzdata-au
I forked the repo and become the contents below:
https://github.com/tomchiukc/tzdata-bb/commit/b4f73814d66077d4ffe9f1c18b1f9ec078ca0c96
Then I found that the contents had not updated for 4 to 5 years. To catch up with it, I followed the files in tzdata and updated my code with tzdata-2014g. But then, I found that when I need to make it, more and more files I will need. Then I came across with the repo below:
https://github.com/eggert/tz/compare
Now, the question is: if I want to keep my repo up to date, I have to get update to the grandpa repo above. So how can I make repo to get update from it?
I found this after I asked my questions:
How do I update a GitHub forked repository?
I tried but failed with such errors:
tom@bkgovsrv1:~/Dropbox/repository/tzdata-bb$ git remote add upstream https://github.com/eggert/tz.git fatal: remote upstream already exists.
tom@bkgovsrv1:~/Dropbox/repository/tzdata-bb$ git status On branch master Your branch is up-to-date with 'origin/master'.
Untracked files: (use "git add ..." to include in what will be committed)
tzselect
nothing added to commit but untracked files present (use "git add" to track) tom@bkgovsrv1:~/Dropbox/repository/tzdata-bb$
Any help?