Committing and pushing

Now, let's initialize our application folder as a Git repository, and make a commit by using the following commands:

git init 
git add -A
git commit -m "create back-end scaffold"
git remote add origin https://github.com/taskagile/vuejs.spring-boot.mysql.git
If you're writing your own app by following this step-by-step, you will most likely create a repository of your own on GitHub or somewhere else and change the URL in the git remote add command to your repository.

After that, we use the following command to push the repository to GitHub:

git push -u origin master

Now, we have our first commit of the TaskAgile application, as shown in Figure 8.2:

Figure 8.2: Creating the backend scaffold commit

As a practice, we will record every commit made to this repository in this book, so that you can use these as references to see the actual code created.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.138.172.130