Skip to content
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

get most recent commit of .npp.json file #10

Open
ORESoftware opened this issue Aug 11, 2018 · 1 comment
Open

get most recent commit of .npp.json file #10

ORESoftware opened this issue Aug 11, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@ORESoftware
Copy link
Owner

sha=`git log --all --format=format:%H -n 1 -- .npp.json`
git branch  --contains "$sha" | head -n 1 | tr -d " *"
@ORESoftware
Copy link
Owner Author

use git branch -all

then see if any of the branches are not the integration branch and warn the user.

@ORESoftware ORESoftware added the enhancement New feature or request label Sep 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant