DEV Community

Cover image for Git commands info
olaniyi akinkunmi
olaniyi akinkunmi

Posted on

Git commands info

Q1 What does the command Git push do What Does git push Do? git push updates the remote branch with local commits. It is one of the four commands in Git that prompts interaction with the remote repository. You can also think of git push as update or publish. By default, git push only updates the corresponding branch on the remote.

Q2 What is a commit message A commit(-m) is a snapshot of your repository at on time, The -m flag helps you add a message to the commit

Q3 What does git push do???? The git push command is used to upload local repository control to a remote repository.

Top comments (0)