{"action":"created","issue":{"url":"https://api.github.com/repos/gogits/gogs/issues/2724","repository_url":"https://api.github.com/repos/gogits/gogs","labels_url":"https://api.github.com/repos/gogits/gogs/issues/2724/labels{/name}","comments_url":"https://api.github.com/repos/gogits/gogs/issues/2724/comments","events_url":"https://api.github.com/repos/gogits/gogs/issues/2724/events","html_url":"https://github.com/gogits/gogs/issues/2724","id":137251752,"number":2724,"title":"Does not sync with local changes","user":{"login":"LukeMauldin","id":1440808,"avatar_url":"https://avatars.githubusercontent.com/u/1440808?v=3","gravatar_id":"","url":"https://api.github.com/users/LukeMauldin","html_url":"https://github.com/LukeMauldin","followers_url":"https://api.github.com/users/LukeMauldin/followers","following_url":"https://api.github.com/users/LukeMauldin/following{/other_user}","gists_url":"https://api.github.com/users/LukeMauldin/gists{/gist_id}","starred_url":"https://api.github.com/users/LukeMauldin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LukeMauldin/subscriptions","organizations_url":"https://api.github.com/users/LukeMauldin/orgs","repos_url":"https://api.github.com/users/LukeMauldin/repos","events_url":"https://api.github.com/users/LukeMauldin/events{/privacy}","received_events_url":"https://api.github.com/users/LukeMauldin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-29T13:17:05Z","updated_at":"2016-02-29T14:21:56Z","closed_at":"2016-02-29T14:21:56Z","body":"- Gogs version (or commit ref): 0.8.43\r\n- Git version: 2.7.1\r\n- Operating system: CentOS 7\r\n- Database: SQLite\r\n\r\nI have used the Gogs interface to create a new Git repository.  If I push into that repository locally from the server using a relative or absolute file path to the repository then Gogs does not \"see\" the changes and will not display them in the UI.  I have restarted Gogs but it seems like Gogs is caching something about the status of the repository that survives restarts.  How can I force Gogs to reexamine the Git repository on disk and update the UI accordingly?\r\nAs a side note, if I create a repository in Gogs, do a Git push to that repo through SSH or HTTPS, then Gogs will show new commits if I make them locally on the file system.  The above problem only occurs when I populate the new repository from a blank state.\r\n"},"comment":{"url":"https://api.github.com/repos/gogits/gogs/issues/comments/190228780","html_url":"https://github.com/gogits/gogs/issues/2724#issuecomment-190228780","issue_url":"https://api.github.com/repos/gogits/gogs/issues/2724","id":190228780,"user":{"login":"Unknwon","id":2946214,"avatar_url":"https://avatars.githubusercontent.com/u/2946214?v=3","gravatar_id":"","url":"https://api.github.com/users/Unknwon","html_url":"https://github.com/Unknwon","followers_url":"https://api.github.com/users/Unknwon/followers","following_url":"https://api.github.com/users/Unknwon/following{/other_user}","gists_url":"https://api.github.com/users/Unknwon/gists{/gist_id}","starred_url":"https://api.github.com/users/Unknwon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unknwon/subscriptions","organizations_url":"https://api.github.com/users/Unknwon/orgs","repos_url":"https://api.github.com/users/Unknwon/repos","events_url":"https://api.github.com/users/Unknwon/events{/privacy}","received_events_url":"https://api.github.com/users/Unknwon/received_events","type":"User","site_admin":false},"created_at":"2016-02-29T14:21:56Z","updated_at":"2016-02-29T14:21:56Z","body":"It is very common questions and exists a lot in GitHub, so I'm closing this one."}}