본문 바로가기

반응형

Git

(6)
[Git] github push error: RPC failed; result=22, HTTP code = 408 기본 셋팅 git http.postBuffer 증가 git config http.postBuffer 500000000 git config http.lowSpeedTime 증가 git config http.lowSpeedTime 600 ★ 100MB 넘는 파일 있는지 확인 (100MB over size file) 위 셋팅을 하고 난 후 다시 git push를 하게 되면 100mb 가 넘는 파일들의 목록을 보여준다. 그 파일들이 꼭 필요한거라면 GIT LFS 를 찾아보자 그게 아니라면 .gitignore 로 제외 시켜주면 잘 push 된다. github의 기본이 100mb 이하의 파일들만 받는다고 한다. 보조 정보 현재 git http.postBuffer 확인 git config http.postBuffer..
[Git] git commit 파일 내용 검색 (feat. git grep / log -G) https://git-scm.com/docs/git-grep Git - git-grep Documentation Look for specified patterns in the tracked files in the work tree, blobs registered in the index file, or blobs in given tree objects. Patterns are lists of one or more search expressions separated by newline characters. An empty string as search expressio git-scm.com 파일 검색하기 (현재 파일 기준) git grep git grep [검색 내용] 커밋로그 검색하기 git log --g..
[Git] old mode new mode git status 하였을때 아무런 변경사항이 없는데도 불구하고 Changes not staged for commit에 상태변화가 있었다. 그래서 git diff으로 상세 변경사항을 보니 아래와 같이 old mode와 new mode로 나오는 경우가 발생하였다. 24hours-beginner:~/test$ git diff diff --git a/test_script.sh b/test_script.sh old mode 100644 new mode 100755 궁금해서 검색 결과 권한을 변경 또는 부여했을 경우 이런 경우가 발생한다고 한다. crontab에서 script 실행을 위하여 아래와 같이 권한을 설정했기에 바로 납득하였다. chmod +x filename 이러한 변경사항을 알려주는 이유는 권한을 변..
[Git] remote https://git-scm.com/book/ko/v2/Git-%EB%B8%8C%EB%9E%9C%EC%B9%98-%EB%A6%AC%EB%AA%A8%ED%8A%B8-%EB%B8%8C%EB%9E%9C%EC%B9%98 Git - 리모트 브랜치 ``origin'' 의 의미 브랜치 이름으로 많이 사용하는 master'' 라는 이름이 괜히 특별한 의미를 가지는 게 아닌 것처럼 origin'' 도 특별한 의미가 있는 것은 아니다. git init 명령이 자동으로 만들기 때문 git-scm.com
[Git] git 기초 참고 사이트 learngitbranching.js.org/?locale=ko Learn Git Branching An interactive Git visualization tool to educate and challenge! learngitbranching.js.org backlog.com/git-tutorial/kr/ 누구나 쉽게 이해할 수 있는 Git 입문~버전 관리를 완벽하게 이용해보자~ | Backlog 누구나 쉽게 알 수 있는 Git에 입문하신 것을 환영합니다. Git을 사용해 버전 관리를 할 수 있도록 함께 공부해봅시다! backlog.com
git 최초 설정 1. git 다운로드 git-scm.com/downloads Git - Downloads Downloads macOS Windows Linux/Unix Older releases are available and the Git source repository is on GitHub. GUI Clients Git comes with built-in GUI tools (git-gui, gitk), but there are several third-party tools for users looking for a platform-specific exp git-scm.com 2. git 최초 설정 $ git config --global user.name "John Doe" $ git config --global u..

반응형