Disable 2 factor auth for https git access

Is is possible to disable 2 factor auth for all repositories via https but still enable it for all users to log into the web interface?