github 가이드 Github Guide ======
+++
git 히스토리 보기
git history
+++
git remote add origin https://?? -> 원격 저장할 곳 추가하는 것임. (origin 과 upstream 은 이름일뿐이다.)
git remote -v
git remote add upstream https://??
새로운 브랜치 만들고 이동하기
git checkout -b feature/?
feature/? 의 이름의 브랜치를 생성하고 ‘그’ 브랜치로 이동한다.
파일 변경 추가하기
git add .
커밋하기
git commit -m "feat:설명"
오리진(내 꺼)에 푸쉬하기
git push origin feature/design
그리고 해당 깃 프로젝트에 가서 Pull / Request 를 하면 된다.
upstream 으로 부터 pull 하기
git pull upstream develop
브랜치 삭제하기
git branch -D feature/? -> local에서 삭제
git push (origin or dong149 anyway) :feature/? -> github에서 삭제 적용
브랜치를 삭제한다.