It's quite perplexing that Jesus can be a God/man and somehow not tempted but also fully tempted to sin - yet of course, we are told he did not submit to the evil power about him and remained sinless. How did he do that?
Scripture informs that Jesus was a man - and nothing else. No biblical text says Jesus was also God as an equal to the Creator (Yahweh) or actually the Creator.
What we are told is that Jesus was 'made like us in every respect' and was required to obey and keep the commands as we are.
Therefore it behooved him to be made like the brothers in all things, so that He might become a merciful and faithful high priest in things relating to God, in order to make propitiation for the sins of the people. (Heb 2:17)
Having a distinct will that could and did differ from God is the precise matter that makes him not God. 'A house divided cannot stand' Mark 3:24
Being not God enabled him to learn obedience from his sufferings. The sufferings of his whole life that resulted in his inescapable journey to the cross.
Father, save me from this hour’? No, it was for this very reason I came to this hour. John 12:27
When he says, "yet, not my will but yours be done." (Luke 22:42) he is stating plainly that he is not God. "your will", not my other will. Not the 'God will' that is really mine but the God will of his Father and God. Oh yes, Jesus has the same God we all do from the days of his flesh to the present day as expressed in Rev 3. post, resurrection, ascension and his being given immortality for the first time.
I am ascending to my Father and your Father, to my God and your God. John 20:17
Jesus had to face bitter temptation not by being God, because that would be a complete farce, but by being a man who had to submit to his God in obedience by choice - a choice made in trusting love and humility. The devil's temptations didn't stop after the 40 day fast - they continued until his final breath - 'it is finished'. The whole point of this life of submitting was as a man like us, who would defeat evil and death. God could have done this another way - He could have banished evil to another dimension or galaxy! He did not, He wanted mankind to experience the horror of sin and decidedly turn away from it by choice. We could not do that as the first Adam failed.
For since death came by a man, so also by a man has come the resurrection of the dead. 1Cor 15:21
Jesus, as the last Adam, succeeded by being the true human who would obey - until death! The final test of his obedience was submitting to the cross - to put aside his own will and abide by and in the Father's will for him. Defeating death and evil by any means other than a man only would make the whole obedience thing a mockery of Godly justice. Jesus obeyed by submitting - not by an internal will that was really God all along! The only God will was the one he obeyed by the power and provision of God's spirit - not by anything of his own power or will apart from God.
not my will but yours be done.
Jesus will was just like ours. It was subject to temptation by evil and deception. It was desiring the best for himself - 'take this cup from me'. Jesus was so subjected that he despaired of his life during his days on earth.
During the days of Jesus’ earthly life, he offered up prayers and petitions with loud cries and tears to the One who could save him from death, and he was heard because of his reverence. 8Although he was a Son, he learned obedience from what he suffered. 9And having been made perfect, he became the source of eternal salvation to all who obey him Heb 5:7-
“Father, if you are willing, remove this cup from me; yet, not my will but yours be done.
Yes, clearly Jesus' will was different to the Father's. There is no other sensible way to understand that Jesus' will needed to be brought into subjection to a master - the god of this world or the Almighty God. He always had to make a choice and the choices were increasingly demanding due to his 'learning obedience through suffering'. Obedience is simply a descriptor for the voluntary alignment of his will with God's.
But we do not see Jesus detailing it to His disciples after the resurrection.
Before his resurrection, Jesus expressed the reality of the state he was in
For I have come down from heaven, not to do my own will, but the will of Him who sent me.
But after the resurrection and exaltation to God's right hand, after he is made immortal with new spirit life (1Pet 3:18, Acts 2:33) his will is not of the flesh anymore - but perfectly aligned with God's for eternity.
This is just as it will be for all humanity who accept Jesus as their means to salvation. They will not sin anymore - their will to choose good will be set because God fills them in every way.
No one who is born of God will continue to sin, because God’s seed remains in them; they cannot go on sinning, because they have been born of God. 1John 3:9
Addendum
We cannot confuse will with intent and purpose. Jesus' intent and purpose did align with God - the 'Father and I are one', but this is not concerning his will which was not always in accord with God's as we plainly read. Jesus told the disciples that they would be one with him, as he is with the Father, but he is not taking away their will, which when subject to temptation, could still choose sin.
Addendum #2
There is some confusion about Jesus being 'made like us in all things'.
The focus here is 'made'. It is not about behaviour, or function - these things are not part of our makeup, but results of choices we make. Jesus was not made a sinner like us - comparing these attributes is folly. The comment by Mike, unless of course Jesus was conceived in sin, is part of that misunderstanding. He wasn't 'made' like God - immortal, omnipotent, omnipresent, all-knowing, spirit, etc. He was made like we are - human, mortal, flesh and bone, etc but without sin from his conception by the power of Holy Spirit. This is the plain and intended meaning of the text and is not a complex matter unless dogma presumes certain other parameters which the NT text does not supply.