git add .
git commit -m "intial commit"
git push
//to add a single file
git add <FILE_NAME>
//to add all changed files
git add -A
//to add file to the repository
1. git add youFilePath
//if you want to add all file then
2. git add .
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 remote add origin https://github.com/Kabuye-Rogers256/ubey.git
git branch -M main
git push -u origin main
git status
git add .
git commit -m "describe what you did to the code in here in present tense"
git add .
git commit -m "Bug Fixed"
git push
--::-- Using SSH --::--
#### Create SSH key ####
$ ssh-keygen -t ed25519 -C "<YourEmail>@<Domain>.com"
#### Copy the SSH key ####
$ cat /path/to/private_key_file.pub
#### Add the SSH key to your GitHub account ####
$ echo "# myPracticeRepo" >> README.md
$ git init
$ git add README.md
$ git commit -m "first commit"
$ git branch -M main
$ git config core.sshCommand 'ssh -i /path/to/private_key_file'
$ git remote add origin git@github.com:<UserName>/<RepoName>.git
$ git push -u origin main
--::-- Using HTML --::--
$ echo "# myPracticeRepo" >> README.md
$ git init
$ git add README.md
$ git commit -m "first commit"
$ git branch -M main
$ git remote add origin https://github.com/<UserName>/<RepoName>.git
$ git push -u origin main
git add <file> or you can do git add -A to add all files
//to add file to the repository
1. git add yourFilePath
//if you want to add all file then
2. git add .
git add