git_practice

##Screenshot 2022-11-01 180231

  1. git rm --cached -r . ---all the files removed from the git staging area
  2. git status -----to check the status
  3. touch .gitignore and then open .gitignore
  4. and then write which file and which txt you want to hide, for example, .DS_Store secrets.txt
  5. and the code git add . in the commind, the txt will be hidden
  6. git clone
  7. git branch nameforbranch
  8. after we creat branch, we will get 2 of branch, one is nameforbranch, another one is master. and we can change the branch if we are in the master branch part ----- git checkout nameforbranch
  9. git merge namefile