Git

5

GitLab Import project from Gitea Status Failed

제 경우에는 저장소 설정에서 Enable Repository Wiki과 Enable Repository Pull Requests가 비활성화 상태였습니다. 둘다 활성화 시키니까 잘되더라고요. Enable Repository Issue Tracker도 활성화해야 되는 것으로 보입니다. 저는 위와 같이 설정해놨었습니다.

Git 2020.08.07 Plorence

Git Lfs Permission denied (publickey).: exit status 255 에러

git lfs를 설치하고, Add 하고 push 할려고 하면 아래와 같은 아래가 발생합니다. Remote "origin" does not support the LFS locking API. Consider disabling it with: $ git config lfs.url Uploading LFS objects: 0% (0/1), 0 B | 0 B/s, done. batch request: url: Permission denied (publickey).: exit status 255 error: failed to push some refs to 'url' 제 경우에는 Windows Terminal에서 Git bash 프로필을 추가해서 사용중이었습니다. 이럴땐 Git Bash 로 실행해 ..

Git 2020.08.07 Plorence

README 양식 또는 작성법이 필요하다면?

Github에 있는 standard-readme를 이용합시다. 설명서는 https://github.com/RichardLitt/standard-readme/blob/master/spec.md#specification

Git 2020.02.25 Plorence

Gitea Release 파일 업로드 "You can not upload files of this type." 문제

gitea 저장소 이슈에도 나와 있는데, app.ini에서 추가만 하면 됩니다. [repository.upload] ALLOWED_TYPES = application/zip|application/x-zip|application/x-zip-compressed|application/x-compress|application/x-compressed|multipart/x-zip [attachment] ENABLED = true PATH = E:/my-work-spaces/Gitea/data/attachments ALLOWED_TYPES = application/zip|application/x-zip|application/x-zip-compressed|application/x-compress|application/..

Git 2020.02.04 Plorence

Gitea private repository를 위한 git SSH 설정

먼저 bash를 실행시켜 키를 만들어야 합니다. ssh-keygen 위 명령어를 입력해 키를 만듭니다. 여기서는 키의 저장 경로를 입력하라는 말인데, 기본 경로로 설정하겠습니다. (그냥 엔터 하면 됨) 키의 비밀번호를 입력합니다. 키의 비밀번호를 재입력합니다. 키가 만들어졌습니다. /c/Users/John/.ssh/에 저장되었다고 합니다. 참고로 pub로 끝나는게 공개키입니다. 경로로 가서 pub파일의 내용을 복사합니다. 개인 저장소에 가서 설정 > 배포 키 > 배포 키 추가 > 내용에 아까 복사해뒀던 공개키 값을 붙여 넣기 합니다. Enable Write Access에 체크해줍니다. 제목은 키가 누구건지 알아볼 정도로만 쓰시면 됩니다. 그리고 배포 키 추가를 클릭합니다. 이제 git에서 clone하면 ..

Git 2020.02.03 Plorence