how to use git from command line code example
Example 1: git from command line
git status
git add . (for al your files)
git add name to add just certain files
git commit -m "message"
git push
Example 2: how to use git in terminal
create new repo-git
echo "# SqlMentor" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin
https://github.com/asd/SqlMentor.git git push -u origin
master
push an existing repo-git
git remote add originhttps://github.com/asd/SqlMentor.git
git push -u origin master
Default editor