Making a Commit

See https://git-extensions-documentation.readthedocs.io/en/latest/commit.html

There are two steps to commit our changes. First, we decide which files/lines to be in the commit by staging them. Second, we give the commit a message to commit.

Note: Unlike other source control management systems, git optimisitically allows us change files without locking it (it is a distributed source control management system and therefore never knows or cares who is changing a file on another computer).

Command line:

git add awesome_changes.txt # add the file to staging area
git commit

Last updated