Git Add
//to add a single file
git add <FILE_NAME>
//to add all changed files
git add -A
DirkVuurst
//to add a single file
git add <FILE_NAME>
//to add all changed files
git add -A
echo "# SpringSecurity" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/dollarkid1/SpringSecurity.git
git push -u origin main
git add .
git commit -m "Bug Fixed"
git push
git status
git add .
git commit -m "add address to restaurant"
//to add file to the repository
1. git add yourFilePath
//if you want to add all file then
2. git add .
git add