Git in terminal
- by goodcow
I tried making my first repo on github. I copy pasted their code while on the directory of my entire system (I think that was a mistake). As a result, the terminal line always says ~ git:(master) ? before every command. It does not go away even when I quit terminal. I am using zsh. The code I pasted was:
touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/***/***.git
git push -u origin master
On top of that, I can't even seem to figure out how to add my files to the repo. Help on how to not always have git:(master) before every bash command and how to make a repo? Thanks!