git-corporation-template

(★ 10)

Your corporation in a repo, optimized for AI. Manage all legal record keeping requirements and day-to-day activities entirely in git.

파일 탐색기

  • .gitattributes
  • .template-repo
  • _TODO-template.md
  • AGENTS.md
  • cli.mjs
  • CORPORATION.md
  • FORK-SETUP.md
  • MAINTAINERS.md
  • package.json
  • README.md
  • secretary-context.json
  • secretary-context.schema.json
  • SECRETARY.md
  • VERSION
  • WORKFLOWS.md

# CDN으로 사용하기

jsDelivr

jsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.

명령어 용어집

이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.

🔍

gh repo create

설명 보기 ▼

Create a new GitHub repository.
Note: `--public`, `--private`, or `--internal` is required when not running interactively.

gh repo {{[new|create]}}

Create a new repository interactively:

gh repo {{[new|create]}} {{[-s|--source]}} . --private

Create a private repository from the current directory:

gh repo {{[new|create]}} {{[-s|--source]}} . --public

Create a public repository from the current directory:

🔍

git clone

설명 보기 ▼

Clone an existing repository.

git clone {{remote_repository_location}} {{path/to/directory}}

Clone an existing repository into a new directory (the default directory is the repository name):

git clone --recursive {{remote_repository_location}}

Clone an existing repository and its submodules:

git clone {{[-n|--no-checkout]}} {{remote_repository_location}}

Clone only the `.git` directory of an existing repository:

🔍

git diff

설명 보기 ▼

Show changes to tracked files.

git diff

Show unstaged changes:

git diff HEAD

Show all uncommitted changes (including staged ones):

git diff --staged

Show only staged (added, but not yet committed) changes:

🔍

git fetch

설명 보기 ▼

Download objects and refs from a remote repository.

git fetch

Fetch the latest changes from the default remote upstream repository (if set):

git fetch {{remote_name}}

Fetch new branches from a specific remote upstream repository:

git fetch --all

Fetch the latest changes from all remote upstream repositories:

🔍

node

설명 보기 ▼

서버 측 JavaScript 플랫폼 (Node.js).
더 많은 정보: <https://nodejs.org/docs/latest/api/cli.html#options>.

node {{path/to/file}}

JavaScript 파일 실행:

node

REPL(대화형 셸) 시작:

node --watch {{path/to/file}}

지정된 파일을 실행하고 가져온 파일이 변경될 때 프로세스를 재시작 (Node.js 버전 18.11+ 필요):

🔍

npm run

설명 보기 ▼

Run a script.

npm run

List available scripts:

npm run {{script_name}}

Run a script:

npm run {{script_name}} -- {{argument}} {{--option}}

Pass arguments to a script:

// repository documentation