Closed yogeshtakeo closed 1 year ago
Name: Junu Thapa Repository URL: https://github.com/junuthapa011/BootcampFDB30.git
/
Name: Namkhang Tsamchoe Github link: https://github.com/Namsla/Repository.git
Ashma
Sandesh Shrestha https://github.com/sandessth/day_2
ashma
Jharana
Name: Ashma Upreti Github link : git@github.com:ashmaupret100/git_task2.git
Task 2: Creating a Repository and Pushing Files
Objective:
Create a new repository on GitHub and push files to it using Git.
Task Overview
Task Details
Now, let's move to the local machine:
Open a terminal or command prompt and navigate to your project directory. Initialize a new Git repository in your project directory using the command:
git init
Add the files you want to push to the repository. For example, if you have an HTML file called "index.html" and a CSS file called "styles.css" in your project directory, use the following command to add them:
git add .
Commit the changes with a descriptive message using the command:
git commit -m "Initial commit"
Connect your local repository to the remote repository on GitHub using the following command:git remote add origin https://github.com/your-username/frontend-bootcamp-tasks.git
Push the changes to the remote repository using the command:
git push origin master
Verify that the files have been pushed to your GitHub repository by visiting the repository's page on GitHub.
Task Submission
Take a screenshot of your GitHub repository showing the pushed files. Share the screenshot on the issues comment of this issue.