Getting Started with Git

15 / 16

GitHub Project - Getting Started with Git - Push your repository to remote server

You can push your repository to remote using git push command

Note:

  • To push a branch on remote, your branch needs to have the latest changes present in remote repository
  • If you get the failed to push error, first do git pull the branch to get the latest commits and then push it
INSTRUCTIONS
  • Make sure you are in ~/devops directory
  • Push the master branch to the remote repository using git push -u origin master command
Get Hint See Answer


Note - Having trouble with the assessment engine? Follow the steps listed here

Loading comments...