Actually He gave one means of forgiveness of all sins...
Repent and believe in Him.
Therefore repent and return, so that your sins may be wiped away, in order that times of refreshing may come from the presence of the Lord (Acts 3:19);
Baptism in itself does not save you. If you do not believe in Christ and you're baptized you're just a wet sinner.
Hear the Word, be convicted by the Word, believe in Him which includes repentance and receive the Holy Spirit by whom you are sealed, then baptism, then follow Him and His commandments and produce fruit for the Kingdom.
What does this mean to you?
“Now when it was late that same day, the first of the week, and the doors were shut, where the disciples were gathered together, for fear of the Jews, Jesus came and stood in the midst, and said to them: ‘Peace be to you.’ And when He had said this, he shewed them His hands and His side. The disciples therefore were glad, when they saw the Lord. He said therefore to them again: ‘Peace be to you. As the Father hath sent Me, I also send you.’ When He had said this, He breathed on them; and He said to them: ‘Receive ye the Holy Ghost. Whose sins you shall forgive, they are forgiven them; and whose sins you shall retain, they are retained.’” (John 20:19-23)