Settings - Developer settings - Personal access tokens
> mkdir 폴더명
> cd 폴더명
> git init
> git pull [협업repo주소]
> git branch [새로추가할브랜치명]
> git checkout [새로추가할브랜치명]
> git remote add origin [협업repo주소]
> git push origin [새로추가할브랜치명]
> mkdir 폴더명
> cd 폴더명
> git init
> git remote add origin 협업repo주소
> git pull origin master
> git pull origin scene
> git checkout -t origin/브랜치명
Pulling is not possible because you have unmerged files
(해결방안 : 아예 merge를 초기화 )
git merge --abort
git reset --merge
한 후에 다시 git pull origin master
github 사이트에서 remote로 할 repository 생성
local repository 만들고 remote 등록 후 push 하기
> mkdir [폴더이름]
> git init
# 아래처럼 파일 추가 혹은 push할 다른 디렉토리에 있는 파일을 가져와주는 작업을 하면됨
> vim [추가할파일]
# 참고 : status로 파일이 tracking되고 있는지 확인
> git status
# git add로 추가한 파일을 staging area에 추가해준다
> git add . # 폴더 내에 있는 파일 전체 add
> git add "파일이름" # 명령어
# commit 메세지 작성해서 commit해주기
> git commit -m "Commit message"
> git log # 커밋 내역 확인
> git remote -v # remote add 해주기전이라 아무것도 안나옴
> git remote add origin [repository 주소]
> git remote -v # remote add 해주었기 때문에 repository 주소가 등록된걸 확인가능
> git push orign master
git remote add
전/후 스샷git remote add
전에는 repository 주소
가 안보임git remote add
후에 repository 주소
가 보임Setting
클릭!Branches
에서 ⇄ 클릭!> mkdir 폴더명
> git init
> git remote add origin [개인repo주소]
> git pull origin [브랜치명]