Have you failed a job interview?
Send us your job interview questions and get correct answers.
What is git push good for?
Experience Level: Medior
git push is used for sending changes from your local repository to a remote repository. All commits that weren't previously sent will be sent.
git push command after the
git commit command. If you forget to do this, the committed changes will be only in your local repository, but they won't be visible for your team members who can see only changes that are present in the remote repository.
Related Git job interview questions
When and why would you use git config command?Git Medior
When and why would you use git stash?Git Medior
What is git pull good for?Git Medior
What do you need to do in order to use Git for your project?Git Medior
What are hooks in Git?Git Medior