Actually, there are no commandments in the Scriptures for the Gentiles because a Gentile is a person who is not in covenant with Yahweh. The word gentile and its plural form gentiles when rendered in Hebrew become goy (sing.) and goyim (pl.). All of the commandments in the Scriptures are for Israel because we are Elohim's covenant people.
It is true that a person who is a Goy (Gentile) through biological childbirth can become a grafted-in Israelite believer. The Hebrew word gar and its plural form garim is used in the Scriptures to refer to such gratfed-in Israelite believers. The KJV Bible uses the English word sojourner(s) to translate the Hebrew word gar(im).
Some people believe Elohim began to graft the Goyim (Gentiles) into Israel only after the Jews rejected Jesus as their Messiah. But this is not true. In Exodus 12:37, the descendants of Abraham, Isaac, and Jacob are identified as "the sons of Israel" in the NASB. These sons of Israel numbered 600,000 not including the little children among them. In the very next verse, the Torah plainly says that "a mixed multitude also went up with them." The "them" in verse 38 are the sons of Israel. This mixed multitude that also went up with them were garim or grafted-in Israelite believers who were Goyim through biological childbirth but became grafted-in citizens of Israel by the Spirit of adoption.
In order for these Garim to have walked out of Egypt along with the sons of Israel, their men would have had to be circumcised according to the Torah and these Garim would have also had to slaughter a lamb and apply its blood to the doorposts and lintels of their homes. In other words, these Garim had to come into the same covenant as the sons of Israel to be saved along with them.
Later when Yahweh gave Moses the Torah Commandments at Sinai & Horeb, Yahweh established one Torah and one commandment for both the sons of Israel and the Garim. As it is written,
One Torah and one ordinance shall be both for you, and for the grafted-in Israelite believer that assembles with you Numbers 15:16 (JPS).
Once a Goy (Gentile) becomes a Gar (grafted-in Israelite), he/she is a citizen of the Commonwealth of Israel with the same rights and benefits of the covenants of promise as anyone who is born a son of Israel through biological childbirth. I was born a goy through biological childbirth but once I turned to Yeshua HaMashiach as my Messiah and Savior and once I accepted Torah into my life I became a Gar (i.e. a grafted-in citizen of the Commonwealth of Israel) adopted into Yah's family by the Spirit of adoption whereby I can now cry Abba, Father.
As it is written,
Therefore remember that at one time you Gentiles through biological chilbirth, called the uncircumcision by what is called the circumcision, which is made in the flesh by hands--remember that you were at that time separated from the Messiah, alienated from the commonwealth of Israel and strangers to the covenants of promise, having no hope and without Elohim in the world. But now in the Messiah Yeshua you who once were far off have been brought near by the blood of the Messiah.
Ephesians 2:11-13 (ESV)
As I bring this post to a close, I want to remind you that Uriah the husband of Bathsheba (with whom King David committed adultery) was a Hittite through biological chilbirth who became a Gar or grafted-in citizen of Israel otherwise he could not have served in King David's army. (see 2 Samuel chapter 11)
So if you were born a Gentile through biological chilbirth but you are now a believer in Yeshua HaMashisach you are an Israelite grafted-in by the Spirit of adoption and the Torah is for you.
Shalom,
David