MOT FCTA task 2.4.2 pushing to GIT errors

I’m trying to commit to GitHub as part of 2.4.2 as per


I get the following error


Can anyone advise what I’ve done wrong / missed please?

2 Likes

From the error message, it seems to me that your computer doesn’t know the (terminal) command git. If it’s not installed, see https://git-scm.com how to install it for your operating system.

3 Likes

Thank you for responding. I’ve installed Git on my laptop and when I try and run it again I get the following message, which I’m still unsure how to resolve:


Any ideas please?

Look like you have no added files to be committed.
While you did a git add ., you did so in a directory where nothing can be added. – ‘.’ means ‘is the current directory’.

The following output of the git command show that there are files you could add (and then commit), in directories ‘below’ ../.. (whic mean two directories up from the current folder).

1 Like

Thank you for your assistance @seasidetesting. I’ve managed to resolve the issue now.

You’re welcome. Good luck!