What is git push?

Sharad Jaiswal
Sharad Jaiswal

Posted On: Feb 25, 2020

 

The git push command is applied to upload local repository content to a remote repository. Pushing is the way you assign commits from local repository to a remote repo and it's the counterpart to git fetch, but whereas retrieving imports commits to local branches, pushing exports commits to remote branches. Remote branches are set up using the git remote command and pushing has the ability to overwrite modifications, care should be taken when pushing.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Git Interview Questions

    What is GIT and why do we use it?

    GIT is a Distributed Version Control System (DVCS) and Source Code Management System (SCMS) which can track changes to a..

    Git Interview Questions

    What are GIT stash and GIT stash drop?

    GIT stash:It takes the current state of working directory and index and pushes into the stack for later and returns to ..

    Git Interview Questions

    Name some GIT commands and also explain their functions?

    GIT diff – It shows the changes between commits, commits and working tree.GIT status – It shows the difference b..