0
The question may be kind of obvious or even confusing. But what I want to know is if there’s a way to leave a commit only local, for example. I’m working on a feature and such, did some important commits, but suddenly comes an urgent demand, which I need to complete and send to the server. How do I send only what was requested(As if I chose the commits to be sent and left the ones I was working on before).
I’m starting with git.
Every commit is local until you push, your problem can be solved with branches, as Ailton suggests, but it would be interesting to take a look at git book
– Sidon