Lord Kṛṣṇa has mentioned two disciplines—the Discipline of Sankhya (Knowledge) and The Discipline of Yoga (Action). Corresponding to the two types of Disciplines there are two types of ‘Purushas’, in this world (Gītā 15/16). These are the perishable (mortal world) and the imperishable (immortal self). To remain equanimous in success and failure, gain and loss of the perishable is known as the Discipline of Action, while having a disinclination for the perishable and being established in the imperishable is the Discipline of Knowledge. But above these two there is the Supreme Person who is beyond the perishable, and is superior to the imperishable, as described in the scriptures, and the Veda (15/18). Thus a wholehearted surrender to the Lord, is called the Discipline of Devotion. Therefore, in the Discipline of Action there is predominance of the perishable, in the Discipline of Knowledge there is predominance of the imperishable, while in the Discipline of Devotion there is predominance of God (Supreme Person).
From Srimad Bhagavadgita – Sadhak Sanjeevani – Chapter 3 Verse 3 by Shradhey Swami Ramsukhdasji Maharaj
In fact in both Karmayoga and Jnanayoga our relation with God remains established-God Himself has prescribed these disciplines (Yoga’s), for the salvation of man. The strivers following these two disciplines carry out the rules prescribed by God. The only thing is that the striver following these two disciplines does not totally depend upon God.