git GitHub 사용법 > 개발

본문 바로가기
사이트 내 전체검색

개발

git GitHub 사용법

페이지 정보

profile_image
작성자 관리자 (61.♡.26.87)
댓글 0건 조회 3,777회 작성일 20-01-30 15:43

본문

ㅁ git 과 GitHub


ㅁ GitHub 에 회원가입하기

https://github.com 에 회원가입을 한다.


https://username.github.io 만들기


ㅁ global config 설정하기

# git config --global user.name "username"
# git config --global user.email "username@email.com"
이메일은 github.com 에 가입시에 입력한 이메일을 적어 준다.


ㅁ 비밀번호 저장하기

ㅇ 10일간 캐시 저장하기
#git config --global credential.helper 'cache --timeout=864000'

https://www.devkwon.com/posts/132
https://stackoverflow.com/questions/35942754/how-to-save-username-and-password-in-git


ㅁ 히스토리 삭제 초기화하기

https://gutmate.github.io/2017/03/22/git-history-remove/


ㅁ git pull 에서 conflict 시에 강제로 pull 하기
[code]
# git fetch --all
# git reset --hard origin/master
# git pull origin master
[/code]
https://frontdev.tistory.com/entry/GIT-Conflict%EC%B6%A9%EB%8F%8C-%EB%82%AC%EC%9D%84-%EB%95%8C-%EA%B0%95%EC%A0%9C%EB%A1%9C-Pull-%ED%95%98%EA%B8%B0




* 참고
https://nolboo.kim/blog/2013/10/06/github-for-beginner/
https://mycyberuniverse.com/how-fix-fatal-authentication-failed-for-https-github-com.html
https://stackoverflow.com/questions/42665398/git-error-rejected-master-master-non-fast-forward/42666483

추천0

댓글목록

등록된 댓글이 없습니다.

Total 392건 18 페이지
  • RSS
개발 목록
번호 제목 조회 추천 날짜
521960006-07
511960010-07
501953005-04
491948006-16
481943007-17
471930002-27
461911006-06
451895002-03
441886008-18
431872005-04
421870008-19
411862005-30
401861009-08
391858006-01
381844001-28
371837002-13
361834002-08
351789008-03
341776005-14
331770001-31

검색


사이트 정보

Copyright © Baragi.Net. All rights reserved.