Not quite - but close enough. (You'll get notified for every commit, not push.)
For GitHub Enterprise as of mid 2014:
- Go into your repository's Settings
- Open the "Webhooks and Services" tab
- Click "Add Service" button
- Select "Email" from the long list of services
- Put in an e-mail address. This can be an e-mail address that forwards to multiple e-mail addresses, or just your own if only one person/account needs e-mail notifications.
- Check "Send From Author" (probably) and "Active" (definitely).
For older versions of GitHub Enterprise:
- Go into your repository's Settings
- Open the "Service Hooks" tab
- Select "Email" from the long list of services
- Put in an e-mail address. This can be an e-mail address that forwards to multiple e-mail addresses, or just your own if only one person/account needs e-mail notifications.
- Check "Send From Author" (probably) and "Active" (definitely).
Done!
Update GitHub plans on shutting down GitHub services before the end of the year. Refer
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…