Setup Git, create Github account & Repository.
NOTE: When creating a Github repository, don't need to Initialize this repository with a README
or select .gitignore
, as Vue.js project (created with vue-cli-3) already created these for you.
NOTE: Don't need to initialize with git init
as it is already done by vue-cli-3
(.git
directory already exist).
Add github as remote repository.
git remote add origin [email protected]:USERNAME/PROJECT.git
Push content to remote server.
git push origin master
NOTE: Vue.js already created the first git commit when the project is setup.
Refer to Guide to Git on Github for further git workflow such as add
, commit
, push
, branch
, merge
, tag
, etc.