$ pwd / $ git remote /$ git config

カテゴリー: GitHub  閲覧数:426 配信日:2019-06-22 10:54


$ pwd


$ pwd
/L/1_Hp/0_sakura/2018server/var/Www/html/1-p46


$ git remote


リモートリポジトリの設定内容を一覧表示(オプションなし)
$ git remote
origin


リモートリポジトリの設定内容を一覧表示(URLも表示)
$ git remote -v
origin  git@github.com:GitHubユーザー名/GitHubリポジトリ名.git (fetch)
origin  git@github.com:GitHubユーザー名/GitHubリポジトリ名.git (push)


$ git remote get-url origin
git@github.com:GitHubユーザー名/GitHubリポジトリ名.git


$ git config


config情報を表示する
$ git config --list
core.symlinks=false
core.autocrlf=false
core.fscache=true
color.diff=auto
color.status=auto
color.branch=auto
color.interactive=true
help.format=html
rebase.autosquash=true
http.sslcainfo=L:/9.soft/Git/mingw64/ssl/certs/ca-bundle.crt
http.sslbackend=openssl
diff.astextplain.textconv=astextplain
filter.lfs.clean=git-lfs clean -- %f
filter.lfs.smudge=git-lfs smudge -- %f
filter.lfs.process=git-lfs filter-process
filter.lfs.required=true
credential.helper=manager
core.longpaths=true
user.name=e1blue
user.email=GitHubメールアドレス
core.autocrlf=false
core.repositoryformatversion=0
core.filemode=false
core.bare=false
core.logallrefupdates=true
core.symlinks=false
core.ignorecase=true
remote.origin.url=git@github.com:GitHubユーザー名/GitHubリポジトリ名.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.master.remote=origin
branch.master.merge=refs/heads/master


$ git config remote.origin.url
$ git config remote.origin.url
git@github.com:GitHubユーザー名/GitHubリポジトリ名.git



git remote get-url origin と git config remote.origin.url について

指定期間人気ページランキング / 2020-5-27 → 2025-6-6
順位 ページタイトル抜粋 アクセス数
1 GitHubリモートリポジトリ名には日本語を使用できない。使用すると、ハイフンへ自動置換されてしまう | GitHub(開発環境) 1032
2 fatal: remote error: is not a valid repository name | Git BASH(開発環境) 734
3 Twitter アカウント管理 | Twitter Developer(Twitter) 616
4 Twitter API | Twitter API (Twitter) 590
5 動画対応 | プログラミング 589
6 開発 0 584
7 「Twitterデータ」対応 | Twitter Developer(Twitter) 550
8 本 | ブックマーク 444
8 Windows10で使用できるGitクライアント | GitHub(開発環境) 444
9 Webサービス | ブックマーク 420
10 マッチングサービス | Webサービスビジネス 403
11 同じ携帯電話番号でも、複数の「Twitter Developers」アカウントを作成可能 | Twitter Developer(Twitter) 352
12 TwitterOAuth では、画像URL を指定した画像投稿は出来ない(と思う)。ライブラリを使用しなければ出来るから、Twitter API の制限ではない(と思われる)  | Twitter 317
13 技術書籍 | プログラミング 299
14 teratailでは質問しない | プログラミング 293
15 気になった動画 | ブックマーク 292
16 埋め込みツイート | Twitter Developer(Twitter) 271
17 個人事業主 | Webサービスビジネス 250
18 Twitter 電話番号の問題 | Twitter Developer(Twitter) 231
19 コインチェック株式会社   | Webサービスビジネス 199
2025/6/7 1:02 更新