DEV Community

Discussion on: Basic Git Commands

Collapse
 
rajeevbera profile image
Rajeev Bera

Nice Question Vikram.

If you are working in team then you need to share your code with them and you need remote repository.

As Heinek answer - git commit only for local repository and git push for remote repository.

Collapse
 
vikramvee profile image
Vikram Chaudhary

That was helpful.