I'm trying to find this manga about a dude who was killed by his village friend, then met a dragon or a god, something to change his power/abilities. Then he lived again.
I believe this is Murabito desu ga Nani ka?, or I Am a Villager, What About It?
The main character and two of his friends are reincarnated into another world. Early on, the main character is killed, but the skill he had been given when reincarnating turned back time to when he was first reincarnated. He then used his knowledge of the future to get a dragon to train him.
I has been a while since i read this one, but i believe there was something of a love triangle between the three who reincarnated. I believe the other male killed the main character so he could romance the female member of the three.