jinnnh
  • 블로그
  • ABOUT
Main

git

All Posts in git

  • Git 디버깅(git bisect)

    Git 디버깅(git bisect) git bisect start // git bisect 시작 git bisect good <rev> // 단어는 good 이지만 의미는 old(과거 시점 or 시작 시점) git bisect bad <rev> // 단어는 bad 이지만 의미는 new(최근 시점 or 종료 시점) git bisect <bad rev> <good rev> // git bisect good <rev>, git bisect bad <rev> 한 번에 실행 git bisect reset // git bisect 종료 git bisect start git bisect good 3a72849 git bisect bad 6aab2f2 or...

    git debug

    jinnnh's profile image

    jinnnh

    2020-05-11 11:00

  • Git 블로그 시작하기(How to make GitHub Pages)

    Git 블로그 시작하기

    git github github_pages

    jinnnh's profile image

    jinnnh

    2020-03-16 11:00

  • ssh를 사용해서 동일한 컴퓨터에서 GitHub에 여러개의 계정 연결(use multiple ssh-keys for different accounts)

    1. 로컬에 SSH 키 생성하기 1) .ssh 폴더로 이동하기(기본적으로 저장되는 디렉토리) -없다면 키를 생성할 때 자동으로 생성된다. (따로 직접 만들어도 된다.) $ cd ~/.ssh 2) .ssh 디렉토리가 존재한다면 기존의 키를 확인하자. $ ls id_rsa.pub id_rsa .pub가 붙은 파일은 공개 키, 아닌 것은 개인 키 3) ssh 키 생성하기 $ ssh-keygen -t rsa -C '{username}@gamil.com' //계정의 이메일 주소 여기서 새로운 키를 저장할 경로를 묻는다. ex) username01_gmail_rsa // 계정_메일호스트_rsa Enter file in which to save the key...

    git github ssh

    jinnnh's profile image

    jinnnh

    2020-03-09 17:30

  • git pull 실패 해결 - You have not concluded your merge (MERGE_HEAD exists)

    증상 You have not concluded your merge (MERGE_HEAD exists) 해결방법 1. 머지 취소 git merge --abort 2. 충돌 해결 3. 병합을 추가 하고 커밋 git status git commit -am "커밋 내용" 커밋을 제대로 하지 않았을 경우 아래 메세지가 뜰 수 있음. Pulling is not possible because you have unmerged files 4. 다시 내려 받기 git pull

    git

    jinnnh's profile image

    jinnnh

    2018-04-18 16:00

  • SSH 권한 설정

    SSH 권한 설정 chmod 700 ~/.ssh chmod 600 ~/.ssh/id_rsa chmod 644 ~/.ssh/id_rsa.pub chmod 644 ~/.ssh/authorized_keys chmod 644 ~/.ssh/known_hosts

    SSH server git

    jinnnh's profile image

    jinnnh

    2017-07-29 15:40

  • git 히스토리 삭제하기(초기화)

    1. 기존의 히스토리 삭제 $ rm -rf .git 2. 파일정리 후 새로운 git 설정 $ git init $ git add . $ git commit -m "first commit" 3. git 저장소 연결 후 강제 push $ git remote add origin {git remote url} $ git push -u --force origin master

    git

    jinnnh's profile image

    jinnnh

    2017-03-22 22:00

  • 자주쓰는 git 명령어

    git 명령어   command 전체 설정 확인 git config --global -l 저장소 url 변경 git remote set-url <name> <url> git remote set-url origin https://github.com/gutmate/gutmate.github.io.git 사용자 이름 변경 git config --global user.name <user.name> 사용자 이메일 변경 git config --global user.email <user.email> 상태 확인 git status 파일을 추적 대상에 등록 git add <file name> git add index.html 파일을 추적 대상에 등록(전체) git add . 커밋 git commit -m '<commit message>' git commit -m 'first commit' 서버에 업로드...

    git

    jinnnh's profile image

    jinnnh

    2017-03-21 16:00

  • gitk 한글 깨짐 해결방법

    gitbash 접속 명령어 입력 git config --global gui.encoding utf-8

    git

    jinnnh's profile image

    jinnnh

    2017-03-09 11:20

  • github
  • rss

Copyright © Kakao Corp. All rights reserved.