Add Vue.js Project to Github

Jan 27, 2019

Create a Vue.js project.

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.

❤️ Is this article helpful?

Buy me a coffee ☕ or support my work via PayPal to keep this space 🖖 and ad-free.

Do send some 💖 to @d_luaz or share this article.

✨ By Desmond Lua

A dream boy who enjoys making apps, travelling and making youtube videos. Follow me on @d_luaz

👶 Apps I built

Travelopy - discover travel places in Malaysia, Singapore, Taiwan, Japan.