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

Closed
hadley opened this Issue Jan 9, 2015 · 3 comments

Comments

Projects
None yet
2 participants
@hadley
Member

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)

@wch

This comment has been minimized.

Member

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 http://stackoverflow.com/a/12538667/412655

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

This comment has been minimized.

Member

hadley commented Apr 29, 2015

Done (mostly) in 14cca3f

@hadley hadley closed this Apr 29, 2015

@lock

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. https://reprex.tidyverse.org/

@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.