본문 바로가기

GITHUB9

github ssh 연동 https://help.github.com/articles/connecting-to-github-with-ssh/ $ git push origin masterfatal: 'origin' does not appear to be a git repositoryfatal: Could not read from remote repository.rightsand the repository exists.Please make sure you have the correct access rightsand the repository exists.Colored by Color Scriptercs github의 origin 레파지토리에 push 하려고하면 위와 같은 에러가 발생한다. git bash 를 켠다.$ ls -al ~/.. 2018. 12. 17.
[GITHUB] Repository 생성 ~ Git clone 까지 깃허브 레파지토리 생성을 위해 깃허브 페이지(https://github.com/)로 이동한다. 로그인을 한 다음 오른쪽 상단에 프로필을 클릭 > Your profile 클릭. Repositories 클릭. New 버튼 클릭.생성할 레파지토리의 정보를 적는다.Repository Name : 생성할 레파지토리 이름. 프로젝트 이름을 적으면 된다.Description : 간단한 설명을 적으면 된다. (선택사항)Public : Private은 아마 유료일 것이다. Public 으로 생성하면 다른 사람들도 해당 레파지토리를 볼 수 있다. 공짜 레파지토리를 위해 Public 체크.README : 이걸 체크하면 레파지토리 생성시 README.md 파일을 생성해준다. 해당 레파지토리를 들어왔을 때 "이걸 읽어라"라는 .. 2018. 11. 28.
github push할 때 Jenkins 자동 빌드 설정 기록용. 새로운 ITem 클릭 이름 적고 Freestyle project 로 생성. GitHub project 클릭 > git url 복붙. 소스 코드 관리 > Git > Repository URL 작성.브랜치는 master 브랜치로 설정했다. 빌드 > GitHub hook trigger for GITScm polling 클릭.깃허브에서 훅이 날라오면 자동 빌드되게 설정했다. 테스트하려는 프로젝트가 gradle을 사용했기 때문에 Add build step > Invoke Gradle script 추가했다.Invoke Gradle 선택. Tasks는 간단하게 기본으로 "clean build" 적어줬다. 설정을 저장해준 다음 왼쪽편에 Build Now를 누르면 바로 빌드할 수 있다. 그런데 fail이 떠서 .. 2018. 11. 10.