Do the work well.
Let the result go.
Karma Yoga is an idea from the Bhagavad Gita. This page explains what it says, and why a software company is named after it.
Where the idea comes from
The Bhagavad Gita is a conversation of 700 verses inside the Mahabharata, the long Indian epic. It opens on a battlefield. The warrior Arjuna looks at the army he has to fight, sees his cousins and his teachers in it, and puts down his bow.
His charioteer is Krishna. Over eighteen chapters Krishna answers Arjuna’s doubt. One of the paths he describes is Karma Yoga. Karma means action, and yoga here means a discipline, so Karma Yoga is the discipline of acting well.
Krishna does not let Arjuna walk away from the work. He tells him that action is better than inaction, and that no one can even keep a body alive without acting (chapter 3, verse 8). Everyone has to act, so the useful question is how to act. His answer has three parts.