+[8 years ago]wpbronedbat: ok, but if someone resets git hard + that cleaner flag, the directories/extra repos would be wiped, right? +[8 years ago]nedbatwpbro: i don't know what that cleaner flag is. the extra dirs would also be wiped if they typed " rm -rf . " which is why I recommend they don't type that :) +[8 years ago]nedbatwpbro: i don't see a dangerous flag like that on the reset command. +[8 years ago]wpbrook +[8 years ago]ThiefMasteri think people use `git clean` very rarely
+[8 years ago]ericnoancan I get the total number of open issues with the github API? i know i can get every issue and count them, but that's kinda overkill +[8 years ago]twidiericnoan: on the main api entry point for a repository ( https://api.github.com/repos/user/repository ) you have the key `open_issues_count` +[8 years ago]ericnoanyes, but that also includes the open pull requests. i figure i need to count which issues have the "pull_request" value and subtract them from the count +[8 years ago]ericnoananyways, im also interested in getting the number of commits to a repo, but so far I can't see a simple way to get it, i'd need to use the "/repos/:owner/:repo/stats/contributors" endpoint, and add all the contributers commit count together +[8 years ago]ericnoanis that the only way to get the number of commits?