Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git setup, terminal returning : command not found

Tags:

git

terminal

I'm trying to setup Git on my computer and now I'm supposed to write in this command to terminal: $ git config --global user.name "Your Name Here" but it is answering: -bash: $: command not found. I dont get any of this, can someone please help me?

like image 859
Delal Avatar asked Feb 13 '23 03:02

Delal


1 Answers

Take out the $ at the start; $ is just the normal notation that people write to show that it's a terminal command.

The real command is:

git config --global user.name "Firstname Lastname"

Since git isn't working and you're running Github for Mac, you can install the command line tools through the Github Preferences in the Advanced tab.

like image 175
Leigh Avatar answered Feb 16 '23 00:02

Leigh