본문 바로가기

반응형

github

일반적으로 Git 리포지토리를 GitHub에 올리는 방법 일반적으로 Git 리포지토리를 GitHub에 올리는 방법 1. GitHub 리포지토리 생성 GitHub에 로그인하고 새로운 리포지토리를 생성합니다. 프로젝트 이름과 설명을 입력하고, 공개 또는 비공개로 설정합니다. 2. 로컬 Git 리포지토리 초기화 Git을 사용하여 프로젝트 디렉토리에서 로컬 Git 리포지토리를 초기화합니다. 터미널에서 다음 명령을 실행합니다. git init 3. 리모트 리포지토리 연결 로컬 Git 리포지토리를 원격 GitHub 리포지토리와 연결합니다. GitHub에서 생성한 리포지토리의 URL을 사용하여 다음 명령을 실행합니다. git remote add origin 4. 커밋 및 푸시 Git으로 파일을 커밋하고 원격 GitHub 리포지토리로 푸시합니다. 다음 명령을 사용합니다. g.. 더보기
[Linux] How to build and push Docker images with GitHub Actions How to build and push Docker images with GitHub Actions Create a new repository for GitHub new repository > Actions > set up a workflow yourself Editing main.yml editing name: CI on: push: branches: [ main ] jobs: build: runs-on: ubuntu-latest steps: - name: Check Out Repo uses: actions/checkout@v2 - name: Login to Docker Hub uses: docker/login-action@v1 with: username: ${{ secrets.DOCKER_HUB_US.. 더보기
GitHub 개인 액세스 토큰을 사용하는 방법 GitHub 개인 액세스 토큰을 사용하는 방법 비밀번호로 접근 시 에러 Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information. $ git push -u origin main Username for 'https://github.com': [email protected] Password for 'https://[email protected]@github.co.. 더보기
GitLab Omnibus를 Docker 컨테이너로 올리는 방법 GitLab Omnibus를 Docker 컨테이너로 올리는 방법 1. Docker Compose 설치 Docker Compose가 시스템에 설치되어 있어야 합니다. Docker Compose 설치 가이드는 공식 웹사이트(https://docs.docker.com/compose/install/)에서 제공됩니다. 2. docker-compose.yml 파일 생성 프로젝트 디렉터리에 docker-compose.yml 파일을 생성하고 다음과 같이 내용을 작성합니다. docker-compose 파일 다운로드 git clone https://github.com/anti1346/docker-gitlab-ce.git cd docker-gitlab-ce .env 파일 생성 vim .env GITLAB_HOST=domai.. 더보기
[리눅스] SVN 서버 설치 및 설정 SVN 서버 설치 및 설정 yum -y install subversion mkdir -p /app/svn cd /app/svn svnadmin create --fs-type fsfs repo1 echo 'OPTIONS="--threads --root /app/svn"' > /etc/sysconfig/svnserve cd /app/svn/repo1/conf/ cp svnserve.conf svnserve.conf.old cp passwd passwd.old cp authz authz.old vi svnserve.conf [general] anon-access = none auth-access = write password-db = passwd authz-db = authz realm = My First R.. 더보기

728x90
반응형