ユーザ用ツール

サイト用ツール


development:vcs:git

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
development:vcs:git [2024/11/14 10:44] – ↷ development:vcsgit から development:vcs:git へページの移動と名称変更しました。 admindevelopment:vcs:git [2024/12/13 07:06] (現在) – [ユーザ名・パスワードの設定] admin
行 110: 行 110:
 login username login username
 password xxxxxxx password xxxxxxx
 +</file>
 +
 +**.git/config**に書く
 +<file ini .git/config>
 +[remote "origin"]
 +url = https://{user}:{トークン}@github.com/pathto/repos.git
 </file> </file>
  
行 116: 行 122:
   git clone https://user:pass@github.com/pathto/repos.git   git clone https://user:pass@github.com/pathto/repos.git
  
 +passを埋め込まない
 +
 +  git clone https://{user}:{トークン}@github.com/pathto/repos.git
 +
 +=== token発行 ===
 +  * GitHUB
 +    * https://docs.github.com/ja/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token
 +  * gitea
 +    * ユーザ -> 設定 -> アプリケーション -> アクセストークンの管理
  
 ===== 参考 ===== ===== 参考 =====
development/vcs/git.1731581066.txt.gz · 最終更新: 2024/11/14 10:44 by admin