Information

Author(s) Mathieu Jadin
Deadline No deadline
Submission limit No limitation

Sign in

Git: Add files to the history

In this exercise, you will have to create a commit with the changes already present in the staging area.

The command line tool to create new commits is git commit [-m message] (see the documentation).

You may also use graphical tools such as Sourcetree or GitKraken.


Download the archive which already contains a cloned repository in the subfolder clone. Commit the file to_commit.txt with as message "Commit message". Afterwards, zip the whole folder and upload it.

Your submission needs to respect the following hierarchy:

git-commit/
├── bare.git/
|   └── [...]
└── clone/
    └── [...]

Max file size: 1.0 MiB
Allowed extensions: .zip