Git refresh status


#1

Hi!

Is there any method to call to reload the git status?
At the moment I have to change tab and come back to see the change. I use the Git API checkoutReference() to switch the branch.

Thank you for your help.


#2
git = atom.project.getRepo()
git?.refreshStatus()

For future reference: https://github.com/atom/atom/blob/master/src/git.coffee


#3

It’s perfect! Thank you!