This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.time.YearMonth; | |
import java.util.Optional; | |
import java.util.regex.Pattern; | |
import java.util.stream.Collectors; | |
import java.util.stream.IntStream; | |
import java.util.stream.Stream; | |
public class RsaIdValidator { | |
public static boolean validateRsaId(String id, boolean validateGender, boolean isMale) { |
git log -S <string to find> --source --all
To find all commits that added or removed the fixed string string to find. The --all
parameter means to start from every branch and --source
means to show which of those branches led to finding that commit.
git branch --contains <commit>