rm -rf .git
//to add a single file git add <file> //to add all changed files git add -A
/*to add all the files in staging area at once*/ git add .
git commit -a -m "msg"
git init git add README.md git commit -m "first commit" git remote add origin https://github.com/Leonuch/flex.git git push -u origin master
git add <file> or you can do git add -A to add all files
git add