Your initial commit

Report a typo

Imagine you are developing a Flask app. In your project repository you have several files, including:

  • Three Python source files (for example, app.py, routes.py, config.py);

  • A Dockerfile (used for containerization);

  • A README.md file with the project description.

Your tasks are:

  • Initialize a new Git repository;

  • First, add only the three Python source files to the staging area and commit them with the commit message "Initial commit". (Do not add the Dockerfile and README.md files);

  • Then the README.md file and commit it with the commit message "Add README". (Do not add the Dockerfile)

Write your Git command(s) line by line.

Write a program
# Write your solution below

Create a free account to access the full topic