Full-Stack Web Development with Vue.js and Node

(singke) #1
Introducing MEVN Chapter 1


  1. Add a commit so that we have a history of this change of code:


$ git commit -m 'Initial Commit'


  1. Now, to link the local application with the remote repository in GitHub, use this
    command:


$ git remote add origin
https://github.com/{github_username}/blog.git


  1. Finally, we need to push this commit to GitHub:


$ git push -u origin master

When it's done, visit the GitHub repository where you will find a history of the commits


made to our repository, as follows:


That's it. Now, when we want to write changes, we will first create a branch and push the


changes to the branch.

Free download pdf