lektorを使ってghpagesに友達のウェブページを展開している間、次の問題を解決しようとしてきました。Windows上で "ghpages + https" lektorメソッドを使用してデプロイする方法はありますか?遅いエラーを取得する:
λ lektor deploy production
Deploying to production
Build cache: C:\Users\user\AppData\Roaming\Lektor\Cache\builds\6edf4ce4c35ce53180e6c7f3b6a081ae
Target: ghpages+https://user/user.github.io
Initialized empty Git repository in C:/Users/user/repos/repo/temp/.deploytempswkcet/scratch/.git/
Fetching origin
fatal: Couldn't find remote ref refs/heads/master
error: Could not fetch origin
warning: LF will be replaced by CRLF in about/index.html.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in blog/first-post/index.html.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in blog/index.html.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in index.html.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in projects/index.html.
The file will have its original line endings in your working directory.
bash: /dev/tty: No such device or address
error: failed to execute prompt script (exit code 1)
fatal: could not read Username for 'https://github.com': Invalid argument
Done!
次のように私の設定は、現在設定されている
:
[project]
name = repo
[servers.production]
target = ghpages+https://user/user.github.io
user = user
password = pass
これを解決するための別の試み次のように入力されています
しかし、私はいつものようなエラーを取得していますlektor deplot --username user --password password production
以下のレンダリングt:
Deploying to production
Build cache: C:\Users\Aperez\AppData\Roaming\Lektor\Cache\builds\6edf4ce4c35ce53180e6c7f3b6a081ae
Target: ghpages+https://johnmanruz/johnmanruz.github.io
Initialized empty Git repository in C:/Users/Aperez/repos/profejohnruz/temp/.deploytempcvsfya/scratch/.git/
fatal: bad config line 12 in file .git/config
fatal: bad config line 12 in file .git/config
fatal: bad config line 12 in file .git/config
fatal: bad config line 12 in file .git/config
Done!
セットアップに問題がある場合は、お知らせください。見ているとき
私は致命的な見ていない:最初にファイル.git/configに悪い設定行12:12行目では何ですか? – VonC