git, github의 차이는 쉽게 "로컬 저장소와 원격저장소의 차이"라고 생각한다... 1.git hub repository(원격 저장소) 주소 복사 1)github 접속 - https://github.com/ 2)repository 링크 복사 **repository가 없으면 생성(만들기 쉬움) **참고1) clone시 https , ssh 차이 https://git-scm.com/book/ko/v1/Git-%EC%84%9C%EB%B2%84-%ED%94%84%EB%A1%9C%ED%86%A0%EC%BD%9C 2. local repository 만들기(로컬저장소- 내 pc에 저장소를 만듬) 1)git설치 2)원하는 폴더를 만들고 3)마우스 오른쪽->git bash(git 커맨드창) 4) git clone ..
에러코드 error: failed to push some refs to 'git@github.com:id/repository' hint: Updates were rejected because the remote contains work that you do hint: not have locally. This is usually caused by another repository pushing hint: to the same ref. You may want to first integrate the remote changes hint: (e.g., 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git pus..
초기 git 설치 후 commit시 에러가 나서 안되는 경우 초기설정이 안되었을 가능성이 있음 **해결방법 1)깃 설치시 사용자 이름과 이메일주소를 설정해야함 git config --global user.name "kim xx xx" git config --global user.email nexxxx@dlsls.com 아래는 참고하면 좋은 사이트 참고url - https://git-scm.com/book/ko/v1/%EC%8B%9C%EC%9E%91%ED%95%98%EA%B8%B0-Git-%EC%B5%9C%EC%B4%88-%EC%84%A4%EC%A0%95 Git - Git 최초 설정 .5 시작하기 - Git 최초 설정 Git 최초 설정 Git을 설치하고 나면 Git의 사용 환경을 적절하게 설정해 주어야 한..
warning 내용은 permanently added 'github.com112.112.222.333' (RSA) to the list of known hosts. git@github.com : permission denied (publickey) fatal : could not read from remote repository please make sure you have the correct access rights and the repository exists. **해결방법 1)명령어 ssh-keygen로 키 생성을 합니다 1-1)ssh-keygen 1-2)파일위치확인→엔터 1-3)passPharase(일종의 비번) 입력 1-4)id_rsa.pub 파일 메모장으로 열기, 복사 2)아래 위치나, 어딘..
예시(사용법). global $DBINFO; //생략@mysqli_query("SET AUTOCOMMIT=0", $conn); @mysqli_query($DBINFO, "BEGIN"); $rs = @mysqli_query($DBINFO, "select * from _MEMBER where id='asdeqwe@asdt.com' FOR UPDATE"); @$row = assoc($rs); .......do..something //완료처리 @mysqli_query($DBINFO, "COMMIT"); //상황(조건, 처리결과 if)에 따라 복원처리 @mysqli_query("ROLLBACK", $conn); ---------------------------------------------------------..