Does Github’s search feature have an AND feature, like:
stars:>0 && stars:<4
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you’re trying to
ANDtogether multiple conditions on the same parameter then it sounds like you’re effectively trying to establish a range of some kind (like a number of stars between 0 and 4 in your example). While GitHub doesn’t, to my knowledge, allow you to combine less/greater than expressions, there is an explicit range operator, the.., which is outlined a bit here. You could use it like so:Note that for your specific example (stars:>0 && stars:<4) we need to use
1..3because the range operator is inclusive. Usingstars:0..4would give you repos with 0 stars or 4 stars, which the less/greater than combination would not.