top of page
Search

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.

ree

- Named the repository.

- Added a README file - optional

- Added a description - it is also optional .

- Added .gitignore - select Laravel.

- Press the create repository button.


ree

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

ree

- Write Git: Add remote

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

ree

- Then add commit message and press commit button



 
 
 

Recent Posts

See All
Project Introduction

In this Project, I am looking to develop a Laravel web application for contact list and host it on a public web server. The project has...

 
 
 

Comments


Thanks for submitting!

© 2023 by DO IT YOURSELF. Proudly created with Wix.com

bottom of page