New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check local repo is up-to-date in release() #691

hadley opened this Issue Jan 9, 2015 · 3 comments


None yet
2 participants

hadley commented Jan 9, 2015

@wch do you know how to do this? (i.e. I want to make sure there aren't commits on remote that I need to pull)


This comment has been minimized.


wch commented Jan 9, 2015

Maybe a git fetch and then compare SHAs for HEAD and the tracking branch?

Or maybe parse the output of git branch -vv, as suggested at

$ git branch -vv
* master cd0a739 [origin/master: ahead 1] Update license information

This comment has been minimized.


hadley commented Apr 29, 2015

Done (mostly) in 14cca3f

@hadley hadley closed this Apr 29, 2015


This comment has been minimized.

lock bot commented Sep 18, 2018

This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue.

@lock lock bot locked and limited conversation to collaborators Sep 18, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.