git-rewrite-commits
AI-powered git commit message rewriter using Ollama or GPT
파일 탐색기
- pages.yml
- publish-manual.yml
- API.md
- index.html
- README.md
- SECURITY.md
- pre-commit
- pre-commit.bat
- prepare-commit-msg
- prepare-commit-msg.bat
- README.md
- .npmignore
- cli.js
- package.json
- README.md
- claude-code.ts
- index.ts
- ollama.ts
- openai.ts
- types.ts
- cli.ts
- index.ts
- .env.example
- .gitignore
- .npmignore
- COMMIT_MESSAGE.md.example
- CONTRIBUTING.md
- example.js
- git-rewrite-commits.png
- LICENSE
- package-lock.json
- package.json
- pnpm-lock.yaml
- QUICK_START.md
- README.md
- SECURITY.md
- tsconfig.json
# CDN으로 사용하기
jsDelivrjsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.
명령어 용어집
이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.
git add
설명 보기 ▼
git add
Stage changed files for a commit.
git add {{path/to/file}}
Stage a file for a commit:
git add {{[-A|--all]}}
Add all files (tracked and untracked):
git add .
Add all files recursively starting from the current folder:
git checkout
설명 보기 ▼
git checkout
Checkout a branch or paths to the working tree.
git checkout -b {{branch_name}}
Create and switch to a new branch:
git checkout -b {{branch_name}} {{reference}}
Create and switch to a new branch based on a specific reference (branch, remote/branch, tag are examples of valid references):
git checkout {{branch_name}}
Switch to an existing local branch:
git commit
설명 보기 ▼
git commit
Commit files to the repository.
git commit
Open an editor to write a message and commit staged files to the repository:
git commit {{[-m|--message]}} "{{message}}"
Commit staged files to the repository with the specified message:
git commit {{[-F|--file]}} {{path/to/commit_message_file}}
Commit staged files with a message read from a file:
git config
설명 보기 ▼
git config
Manage custom configuration options for Git repositories.
These configurations can be local (for the current repository) or global (for the current user).
git config --global {{user.name|user.email}} "{{Your Name|[email protected]}}"
Globally set your name or email (this information is required to commit to a repository and will be included in all commits):
git config --{{local|global|system}} {{[-l|--list]}} --show-origin
List local, global, or system configuration entries and show their file location:
git config --global {{alias.unstage}} "reset HEAD --"
Set the global value of a given configuration entry (in this case an alias):
git filter-branch
설명 보기 ▼
git filter-branch
Change branch history, like removing files.
git filter-branch --tree-filter 'rm {{[-f|--force]}} {{file}}' HEAD
Remove a file from all commits:
git filter-branch --env-filter 'GIT_AUTHOR_EMAIL={{new_email}}' HEAD
Update author email:
git filter-branch --tree-filter 'rm {{[-rf|--recursive --force]}} {{folder}}' HEAD
Delete a folder from history:
git log
설명 보기 ▼
git log
Show a history of commits.
git log
Show the sequence of commits starting from the current one, in reverse chronological order of the Git repository in the current working directory:
git log {{[-p|--patch]}} {{path/to/file_or_directory}}
Show the history of a particular file or directory, including differences:
git log --stat
Show an overview of which file(s) changed in each commit:
git push
설명 보기 ▼
git push
Push commits to a remote repository.
git push
Send local changes in the current branch to its default remote counterpart:
git push {{remote_name}} {{local_branch}}
Send changes from a specific local branch to its remote counterpart:
git push {{[-u|--set-upstream]}} {{remote_name}} {{local_branch}}
Send changes from a specific local branch to its remote counterpart, and set the remote one as the default push/pull target of the local one:
npm install
설명 보기 ▼
npm install
Install Node packages.
npm {{[i|install]}}
Install dependencies listed in `package.json`:
npm {{[i|install]}} {{package_name}}@{{version}}
Download a specific version of a package and add it to the list of dependencies in `package.json`:
npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}
Download the latest version of a package and add it to the list of dev dependencies in `package.json`:
npx
설명 보기 ▼
npx
이 명령은 `npm exec`의 별칭입니다.
tldr npm exec
자세한 내용은 원본 명령을 참고하세요:
ollama
설명 보기 ▼
ollama
대규모 언어 모델 실행기.
사용 가능한 모델 목록은 <https://ollama.com/library>를 참조하세요.
더 많은 정보: <https://docs.ollama.com/cli>.
ollama serve
다른 명령을 실행하는 데 필요한 데몬 시작:
ollama run {{model}}
모델을 실행하고 대화:
ollama run {{model}} --think=false "{{prompt}}"
단일 프롬프트로 모델을 실행하며, thinking 기능을 비활성화:
