xxxxxxxxxx
Stage this hunk [y,n,q,a,d,s,e,?]? ?
y - stage this hunk
n - do not stage this hunk
q - quit; do not stage this hunk or any of the remaining ones
a - stage this hunk and all later hunks in the file
d - do not stage this hunk or any of the later hunks in the file
s - split the current hunk into smaller hunks
e - manually edit the current hunk
? - print help
@@ -4,7 +4,7 @@
resources :cats
resources :dogs
-resources :lizards, only: [:index, :create]
+resources :lizards, only: [:index, :create, :show]
resources :ninjas
-resources :turtles, only: [:index, :create]
+resources :turtles, only: [:index, :create, :show]
resources :xylophones
Stage this hunk [y,n,q,a,d,s,e,?]?
xxxxxxxxxx
//to add a single file
git add <FILE_NAME>
//to add all changed files
git add -A
xxxxxxxxxx
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
xxxxxxxxxx
echo "# py_demo" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/demoname/py_demo.git
git push -u origin main
xxxxxxxxxx
git status
git add .
git commit -m "describe what you did to the code in here in present tense"
xxxxxxxxxx
//to add file to the repository
1. git add yourFilePath
//if you want to add all file then
2. git add .