分散バージョニング環境におけるHelix Coreサーバの利用 (2019.1)

Git: Helixサーバコマンドマッピング

以下の表に、Gitコマンドとそのコマンドに対応するHelixサーバコマンドとのマッピングを示します。

Gitコマンド Helixサーバコマンド

git add

p4 reconcile

git branch

p4 switch -l

git checkout --orphan new_branch

p4 switch -cm new_stream

git checkout branch

p4 switch stream

git clone repository

p4 clone -p host:port -r remote

git commit

p4 submit

git init

p4 init

git merge branch

p4 merge --from stream

git pull

p4 fetch -t -r remote -S stream

git pull --all

p4 fetch -t

git push

p4 push -r remote -S stream

git push --all

p4 push

git rebase

p4 unsubmit followed by p4 resubmit

git remote

p4 remotes

git remote add new_remoterepository

p4 remote new_remote

git status

p4 status

git checkout -b new-branch

p4 switch -c new-branch

の後に