Reputation: 1
I often make minor cosmetic re-formatting changes to code, which some people find only aesthetically pleasing and not worth doing and committing and pushing...
If I designate such local commits as secret
and then push them to remote
, will other developers be able to see these commits when they pull? Or will they only see the final code?
Upvotes: 1
Views: 222
Reputation: 6729
As far as I'm aware, the whole point of commits marked as secret, is that they can't be pushed to the server.
If you are going to make local changes, then I suspect you will have to keep rebasing the local only ones on top of your other work.
Upvotes: 3