1. local to remote

git remote add origin(별명) 주소

git push -u origin master (처음한번만)

git push (두번째 부터)

 

2. remote to local

git clone 주소 

'git' 카테고리의 다른 글

merge tool  (0) 2018.08.08
branch  (0) 2018.08.07
실행순서  (0) 2018.08.07
git password 저장  (0) 2017.11.06
git config 계정설정  (0) 2017.11.06


git config --global merge.tool kdiff3


git mergetool


'git' 카테고리의 다른 글

원격 저장소 추가 방법  (0) 2018.08.08
branch  (0) 2018.08.07
실행순서  (0) 2018.08.07
git password 저장  (0) 2017.11.06
git config 계정설정  (0) 2017.11.06

1. exp branch 생성

git branch exp


2. exp 를 master 로 머지

git checkout master

git merge exp


3. master 를 exp 로 머지

git checkout exp

git merge master


4. exp branch 삭제

git checkout master

git branch -d exp




'git' 카테고리의 다른 글

원격 저장소 추가 방법  (0) 2018.08.08
merge tool  (0) 2018.08.08
실행순서  (0) 2018.08.07
git password 저장  (0) 2017.11.06
git config 계정설정  (0) 2017.11.06

git init

vi test 

git status

git add test

git status

git config --global user.name tnsdnjs

git config --global user.email sonagisw@hotmail.com

git commit

vim 창 (1.블라블라)

git log

vi test (커맨트 수정)

git status

git add test    (파일 수정후 git commit 이 아니라 git add 파일명 해줘야 함)

git status

git commit

vim 창 (2.파일수정)

git status



'git' 카테고리의 다른 글

merge tool  (0) 2018.08.08
branch  (0) 2018.08.07
git password 저장  (0) 2017.11.06
git config 계정설정  (0) 2017.11.06
repository not found  (0) 2017.11.06


git config credential.helper store

또는

git config --global credential.helper store

'git' 카테고리의 다른 글

merge tool  (0) 2018.08.08
branch  (0) 2018.08.07
실행순서  (0) 2018.08.07
git config 계정설정  (0) 2017.11.06
repository not found  (0) 2017.11.06
$ git config --global user.name "sonagisw"
$ git config --global user.email tnsdnjs@gmail.com

프로젝트 마다 다른 Email을 사용하고 싶으면 --global 옵션을 제거하면 된다.



'git' 카테고리의 다른 글

merge tool  (0) 2018.08.08
branch  (0) 2018.08.07
실행순서  (0) 2018.08.07
git password 저장  (0) 2017.11.06
repository not found  (0) 2017.11.06

git credential-manager uninstall


git credential-manager install

'git' 카테고리의 다른 글

merge tool  (0) 2018.08.08
branch  (0) 2018.08.07
실행순서  (0) 2018.08.07
git password 저장  (0) 2017.11.06
git config 계정설정  (0) 2017.11.06

+ Recent posts