/
Git Push

Git Push

A git push operation will push local changes in your local repository to the central source repository.

It’s usually safer to begin with a git pull operation first - this is to get changes from other team members from the central repository into your local repository. GIT won’t let you push until you do this usually. To do it just do “git pull”. You might see merge conflicts which have to be resolved.

Then you can just do “git push”.

It’s that simple. Here is an example:

Tada! We’ve pushed our changes to the central GIT repository.

Related content

GIT Commit
GIT Commit
More like this
Basic workflow of git for day to day use
Basic workflow of git for day to day use
More like this
Git Clone
Git Clone
More like this
How to save a file in vi and exit
How to save a file in vi and exit
Read with this
GIT Pull
GIT Pull
More like this
GIT Add Tricks - wildcards and interactive adding of files
GIT Add Tricks - wildcards and interactive adding of files
Read with this