VersionCtl/jj
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
]
開始行:
#topicpath
/////////////////////////////////////////////////////////...
* 目次 [#ea18abac]
#contents();
/////////////////////////////////////////////////////////...
* jj [#f4eeb2f6]
- 高速な git 互換ツール
/////////////////////////////////////////////////////////...
* 入手 [#va712001]
- Debian13 にはパッケージがないので、ソースコードからビル...
$ https://github.com/jj-vcs/jj.git
$ cd jj
$ cargo build --release
- 以上で、コマンドファイル target/release/jj が生成される
/////////////////////////////////////////////////////////...
* 使い方 [#gec490f8]
- git repository で jj を使えるようにする
$ cd <git-repository>
$ jj git init --colocate
-- ここで、 jj に関する設定は、このディレクトリに作成され...
//=======================================================...
** コマンドラインオプション [#fcc6dac2]
|~jj コマンド |~git...
|jj init |git ...
|jj git clone <url> |git ...
|jj status |git ...
|jj log |git ...
|jj diff |git ...
|(不要) |git ...
|jj describe -m "msg" または jj new -m "msg" |git ...
|jj describe -m "new msg" |git ...
|jj checkout <bookmark> または jj new <bookmark> |git ...
|jj new -m "msg" <bookmark> |git ...
|jj bookmark create <name> |git ...
|jj bookmark delete <name> |git ...
|jj bookmark list |git ...
|jj merge |git ...
|jj rebase -d <bookmark> |git ...
|jj rebase -i |git ...
|(不要) |git ...
|jj new -m "stash" |git ...
|jj squash -r <stash> |git ...
|jj restore -r <commit> |git ...
|jj squash -r <commit> |git ...
|jj move --from <commit> --to @ |git ...
|jj git fetch && jj rebase -d main@origin |git ...
|jj git fetch |git ...
|jj git push |git ...
|jj show <commit> |git ...
|jj file annotate <file> |git ...
|jj new -r <commit> -m "revert" または jj op revert |git ...
|jj config [optoin] |git ...
/////////////////////////////////////////////////////////...
* 設定 [#jj-config]
- jj の設定コマンド
-- コマンドラインで設定追加する
$ jj config set <config-option>
-- 設定ファイルの編集画面を呼び出す
$ jj config edit --user
- 設定ファイルは下記に作成される:
${HOME}/.config/jj/config.toml
- ユーザの名前、メールアドレスを設定
$ jj config set --user user.name <user-name>
$ jj config set --user user.email <mail-address>
終了行:
#topicpath
/////////////////////////////////////////////////////////...
* 目次 [#ea18abac]
#contents();
/////////////////////////////////////////////////////////...
* jj [#f4eeb2f6]
- 高速な git 互換ツール
/////////////////////////////////////////////////////////...
* 入手 [#va712001]
- Debian13 にはパッケージがないので、ソースコードからビル...
$ https://github.com/jj-vcs/jj.git
$ cd jj
$ cargo build --release
- 以上で、コマンドファイル target/release/jj が生成される
/////////////////////////////////////////////////////////...
* 使い方 [#gec490f8]
- git repository で jj を使えるようにする
$ cd <git-repository>
$ jj git init --colocate
-- ここで、 jj に関する設定は、このディレクトリに作成され...
//=======================================================...
** コマンドラインオプション [#fcc6dac2]
|~jj コマンド |~git...
|jj init |git ...
|jj git clone <url> |git ...
|jj status |git ...
|jj log |git ...
|jj diff |git ...
|(不要) |git ...
|jj describe -m "msg" または jj new -m "msg" |git ...
|jj describe -m "new msg" |git ...
|jj checkout <bookmark> または jj new <bookmark> |git ...
|jj new -m "msg" <bookmark> |git ...
|jj bookmark create <name> |git ...
|jj bookmark delete <name> |git ...
|jj bookmark list |git ...
|jj merge |git ...
|jj rebase -d <bookmark> |git ...
|jj rebase -i |git ...
|(不要) |git ...
|jj new -m "stash" |git ...
|jj squash -r <stash> |git ...
|jj restore -r <commit> |git ...
|jj squash -r <commit> |git ...
|jj move --from <commit> --to @ |git ...
|jj git fetch && jj rebase -d main@origin |git ...
|jj git fetch |git ...
|jj git push |git ...
|jj show <commit> |git ...
|jj file annotate <file> |git ...
|jj new -r <commit> -m "revert" または jj op revert |git ...
|jj config [optoin] |git ...
/////////////////////////////////////////////////////////...
* 設定 [#jj-config]
- jj の設定コマンド
-- コマンドラインで設定追加する
$ jj config set <config-option>
-- 設定ファイルの編集画面を呼び出す
$ jj config edit --user
- 設定ファイルは下記に作成される:
${HOME}/.config/jj/config.toml
- ユーザの名前、メールアドレスを設定
$ jj config set --user user.name <user-name>
$ jj config set --user user.email <mail-address>
ページ名: