git vs github
github keyword
termail에서 사용
github
기존에 있었던 파일들 repository 저장된 -> clone 관리, create folder....
flow
create new project - mkdir (directory)
git init
readymade git file -> find -> project
=============================
0223 update
Recap for Git & GitHub
// git is at local status
// the -m means message when you commit
// github master where the approved codes are located (repostiory)
git status (on branch feature/yunsook -> changes to be. commited
/ use "git restore --staged ..." to unstage)
/ to distinguish the new files to be loaded will be in green marked as new files, or modified
git add .
git status >>> git commit -m “Add: Login, Main”
(when you commit,this status is still in the temporary local, before going to the master of Github)
git push origin feature/yunsook (local working location)
next step is to send
git branch (this is to locate the branch)
git branch master (branch is located in the master)
git checkout master (is to leave and switch to the master local)
git branch (git branch)
git checkout feature/yunsook (switched to branch 'feature/yunsook'
(it's switched to brand 'feature/yunsook')