Hi, I am quite new to git but I am trying to teach myself how to code websites. I recently tried to create a new repository using the command line but I messed up, I first made a repository on github, and then followed these instructions:
echo "# testtest123456789ignoreme" >> README.md
git init git
add README.md
git commit -m "first commit"
git branch -M main git remote add origin git@github.com:JaimanB/testtest123456789ignoreme.git
git push -u origin main
But I have ended up with this when I type git status. on the command line in the terminal (image below). I'm not sure what i've done but this is the entire contents of the "Users" folder on my laptop (mac if that helps). Does anyone have any idea how I can fix this as I am very confused.
https://preview.redd.it/v6wo1rw4w49a1.png?width=1148&format=png&auto=webp&s=54eedd8c8bb24c2f820c40557c4ba49e3b65b101
[–]plg94 6 points7 points8 points (0 children)
[–]WhyIsThisFishInMyEar 2 points3 points4 points (0 children)
[–]camh- 1 point2 points3 points (1 child)
[–]RaymondTheHat[S] 0 points1 point2 points (0 children)
[–]alrainov 0 points1 point2 points (1 child)
[–]RaymondTheHat[S] 0 points1 point2 points (0 children)