Article version: Enterprise Server 2.14

This version of GitHub Enterprise will be discontinued on This version of GitHub Enterprise was discontinued on 2019-07-12. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise. For help with the upgrade, contact GitHub Enterprise support.

Using common Git commands

Pushing commits to a remote repository

Use git push to push commits made on your local branch to a remote repository.

Getting changes from a remote repository

You can use common Git commands to access remote repositories.

Dealing with non-fast-forward errors

Sometimes, Git can't make your change to a remote repository without losing commits. When this happens, your push is refused.

Ask a human

Can't find what you're looking for?

Contact us