Backup the Project
- Nov 4, 2022
- 1 min read
Updated: Dec 12, 2022
GitHub: It is an online software development platform and the main use of GitHub is storing, tracking and collaborating on projects. I have used GitHub in this project for backup purpose.
Git: It is an open-source version control software and normally it is used for managing and tracking file revisions. Git is one of the requirements for getting backup of Laravel project from vs code into GitHub.
Firstly, I needed to create new repository in GitHub. For this purpose, I have sign in GitHub and from repositories Press New green button.

- Named the repository.
- Added a README file - optional
- Added a description - it is also optional .
- Added .gitignore - select Laravel.
- Press the create repository button.

After creating repository, GitHub itself provides guidance for storing Laravel project from vs code to GitHub. I have typed the above command in terminal, for me, it worked successfully, but, sometimes, from first time user, it may ask for email and name.
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
Perhaps, if by any reason, it failed to push through terminal, then in that case press ctrl+shift+p

- Write Git: Add remote
- https://github.com/ATFaiz/LaravelProject.git - copy this from GitHub and paste it on command palette. then add branch.

- Then add commit message and press commit button




Comments