内容へ移動
SlightKnowledge
ユーザ用ツール
ログイン
サイト用ツール
検索
ツール
文書の表示
以前のリビジョン
バックリンク
最近の変更
メディアマネージャー
サイトマップ
ログイン
>
最近の変更
メディアマネージャー
サイトマップ
トレース:
lang:git
この文書は読取専用です。文書のソースを閲覧することは可能ですが、変更はできません。もし変更したい場合は管理者に連絡してください。
====== git ====== ===== サーバーと同期 ===== git pull ownedName ownedBranch ===== サーバーへ upload ===== git push ownedName ownedBranch ===== 編集手順 ===== - ファイル編集 - git add - git commit サーバの場合は、さらに pull する ---- ===== git サーバ構築 ===== 更新情報のみの repository (bare) を作成し、 それが git サーバになる。 local git で repository と同期する。 ==== bare git の構築 ==== mkdir ownedGit cd ownedGit git init --bare --shared ==== local git ==== === git サーバと同一マシンの場合 === git clone "path_To_ownedGit" === git サーバと別マシンの場合 === git clone ssh://userName@gitServerAddress/"path_To_ownedGit" ==== git サーバの確認 ==== git remote -v ==== git サーバの解除 ==== git remote remove "repositoryName" "repositoryName" は "git remote -v" の出力結果の1列目。default は、"origin"。
lang/git.txt
· 最終更新:
2025/09/09 00:17
by
editor
ページ用ツール
文書の表示
以前のリビジョン
バックリンク
文書の先頭へ