git__01

AMJ·2023년 3월 10일
0

git_log

목록 보기
1/5

git command

  • git init : 폴더 처음 생성 후 git 초기화
  • git status : 깃 상태 확인 commit 상태 확인
  • touch xxxx : xxxx 이름가진 파일 생성
  • git commit -m "commit comment" comment 작성됨
  • `git add . : (.)현 폴더의 전체 파일을 추가(업데이트)
  • git add filename : filename을 가진 파일 추가
  • git log : commit log나 현재 상태 로그 출력
  • git log --oneline --graph : log graph로 출력
  • git log --graph --pretty=short --no-merges : 머지 제외

이 외 여러가지는 참고 사이트 활용.

https://youngwonhan-family.tistory.com/entry/Git-Log-%EC%9C%A0%EC%9A%A9%ED%95%9C-%EB%AA%85%EB%A0%B9%EC%96%B4-%EB%AA%A8%EC%9D%8C-%EA%B7%B8%EB%9E%98%ED%94%84-%EB%B3%80%EA%B2%BD-%EB%90%9C-%EB%82%B4%EC%9A%A9-%EA%B2%80%EC%83%89-%ED%8A%B9%EC%A0%95-%EB%82%A0%EC%A7%9C-%EC%9D%B4%ED%9B%84-%EA%B2%80%EC%83%89-%EB%93%B1

profile
재미있는 것들

0개의 댓글