Git Workflow
I’ll flesh this out later, but:
git add .to add everything, orgit add FILENAMEto add files one by one.git commit -m "Message here"to make a commit, a.k.a. save things into your repositorygit pushto send everything to GitHub - you’ll usegit push -u origin masterthe first time- Did it not work? Did you get a message about
git pull? That means there is new data on the repository that isn’t on your computer. Runninggit pullby itself will sometimes send you into a weird text editor, hit ESCAPE then type:wqand hit enter. I know, it’s dumb. You could also rungit pull --rebaseto avoid that. Then try tocommitandpushagain.