본문 바로가기

개발/Git, GitHub

git scenarios

git scenarios




1.

local repository를 지운다

clone을 한다 from remote repository

특정 시점으로 되돌린다.



2.clone to local repository from remote repository

how to run?



3.폴더 바꾸기 git -> practice로


git/local_repository지운다

clone한다 to practice/local_repository


4.branch 작업

branch 만든다

merge한다



5.push Scenarios to Remote Repository

수정사항이 있을 때 마다 local에 commit을 한다.



6.revert한걸 또 revert 하는 경우

1.revert 

2.revert




7.remove한 경우 다시 다운로드 받고 싶을 때