Skip to content

akstizzy/Lab_task_demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Git Practice Assignment

#Task

You need to:

  1. Edit the README.md file and add your full name at the bottom. Scroll all the way to bottom!!

  2. Create a Python file named hello.py that prints Hello World and make sure it runs. (In same folder)

  3. Commit your changes with the message:

'made both changes'

  1. Push your changes to GitHub.

--Instructions--

  1. Clone the repository using GitHub Desktop
  • Open GitHub Desktop.

  • Click File → Clone Repository.

  • Paste the repository link provided by your instructor.

  • Choose a location on your computer where you want to save the repository.

  • Click Clone.

  1. Open the repository/folder in VS Code
  • Open Visual Studio Code.

  • Click on File → Open Folder… (on Mac: Code → Open…).

  • Browse to the location where you cloned the repository.

  • Select the repository folder and click Open.

  • VS Code will now open that repository folder.

  1. Edit the README file
  • In VS Code, locate the README.md file.

  • Scroll to the bottom of the file.

  • Add your full name where indicated.

  • Save the changes.

  1. Create and run a Python file
  • In VS Code, create a new file inside the repository.

  • Name it hello.py

  • Write a Python program that prints Hello World.

  • Save the file.

  • Run the program in VS Code to make sure it works and displays Hello World as output.

  1. Check changes in GitHub Desktop
  • Go back to GitHub Desktop.

  • You should see two changed files:

README.md

hello.py

  1. Commit your changes
  • In GitHub Desktop, write a commit message:

'made both changes'

  • Click Commit to main.
  1. Push to GitHub
  • In GitHub Desktop, click Push origin (top right corner).

  • Your changes are now uploaded to GitHub.

Write your name here: "Colin Acquah"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%