본문 바로가기

Tools12

[Git] Git 명령어 (기타) Git 명령어 (git command) * 업무에서 자주 쓰는 것들만 모아뒀을 뿐 더 많은 명령어가 존재합니다. Git 명령어 모음 (https://git-scm.com/book/ko/v2) Git log (기록보기), show (내용보기) 명령어 설명 실행화면 git log log 확인 git log --graph --abbrev-commit --all git log --graph //예쁘게 --abbrev-commit //hash 앞 7자리만 --all //모든 branch와 태그 함께 git show git show [특정 commit hash] commit된 파일 내용 반영 확인 기존 내용 - 삭제한 내용 + 추가한 내용 Git stash(commit 전 임시저장) 명령어 설명 실행화면 git s.. 2020. 10. 27.
[Git] Git활용을 위한 리눅스 명령어 Git활용을 위한 리눅스 명령어 리눅스 명령어는 많지만, Git에서 주로 사용하는 것 위주로 작성하였습니다. 기타 명령어 설명 실행화면 ls -a ls (Directory 보기) ls -a (숨김파일 포함 모두 보기) -l (Directory, File 상세정보 표시) -t (File 작성 시간 순) -r (File 거꾸로 정렬) pwd 현재 directory 위치 확인 mkdir [file name] Directory 생성 rm -r [file name] Directory 및 포함된 File 삭제 vim [file name] Editor 화면으로 이동 cat [file name] 화면에 File내용 노출 2020. 10. 24.
[Git] GitHub 가입하기 GitHub 가입하기 How to Sign up Git 1. Git 페이지 이동 (https://github.com/) * 그나저나 익스플로러는 더 이상 지원하지 않는다고 뜸 2. Sign up for GitHub (초록 버튼) 클릭 3. username, email 정보 입력 후 Create Account 클릭 4. 부가 정보 입력 - 뭐하는 사람인지, 프로그래밍은 얼마나 아는지, GitHub을 어떻게 이용 할 건지, 뭐에 흥미 있는지 선택 후 Complete setup 클릭 5. GitHub로 가입한 이메일에서 인증 확인 6. 쨘 2020. 10. 23.
[Git] Git 명령어 (기본) Git 명령어 (git command) * 업무에서 자주 쓰는 것들만 모아뒀을 뿐 더 많은 명령어가 존재합니다. Git 명령어 모음 (https://git-scm.com/book/ko/v2) Git Config Git 명령어 (git command) 설명 실행화면 git config -help git command 목록 git config --global --list git 전역 설정정보 조회 git config --list git 설정 정보 조회 Git 1회성 정보 설정 Git 명령어 (git command) 설명 실행화면 git config --global user.name "[name]" git을 관리 할 사용자 정보 (이름) git config --global user.email "[email]".. 2020. 10. 22.