こんにちは皆さん:これは私の最初のこのリストへの書き込みですので、初心者の質問と私が従っていない他のルールをお許しください。初心者のgithubユーザーがgithubのレポにファイルをプッシュしようとしています
私はfedora linuxに取り組んでいて、自分自身をgitと気を付けようとしていますが、本当にgithubです。だから、私は様々なチュートリアルに続き、githubアカウントとmarkleeds2/bcleanというリポジトリを作成しました。私はssh公開鍵を追加しましたが、それは正常に動作するようです。レポにはファイルがありません。だから、私はgithubを出て、linuxコマンドラインに行きました。次のステップは私が覚えていないどこかで見つけたチュートリアルに基づいて行いました。明らかに、私はファイルをプッシュしようとするとエラーが発生するため、何か間違っています。あなたが提供できるあらゆる助けを前もっておかげでありがとう。
P.S:それでない「bclean」がないので、私は私のgitのは、リモート一番最後に元のコマンドを追加する気持ちを持って 正しくありません。 ( "gitの追加..." を使用し、コミットがどうなるかに含める)
README
何も(コミットするために添加していないが、人跡未踏のファイル存在:
#==========================================================================================
:~/research/equity/projects/git_hub/git> mkdir test
:~/research/equity/projects/git_hub/git> cd test
:~/research/equity/projects/git_hub/git/test> dir
total 0
:~/research/equity/projects/git_hub/git/test> git init
Initialized empty Git repository in /home/markleeds/research/equity/projects/git_hub /git/test/.git/
:~/research/equity/projects/git_hub/git/test> touch README
:~/research/equity/projects/git_hub/git/test> git status
# On branch master
初期は
人跡未踏のファイルがコミット"git add"を使って追跡する)
:~/research/equity/projects/git_hub/git/test> git add README
:~/research/equity/projects/git_hub/git/test> git status
On branch master
Initial commit
Changes to be committed:
(use "git rm --cached <file>..." to unstage)
new file: README
:~/research/equity/projects/git_hub/git/test> git commit -m 'first commit'
[master (root-commit) 676f27d] first commit
:~/research/equity/projects/git_hub/git/test> git remote add origin [email protected]:markleeds2/test.git
:~/research/equity/projects/git_hub/git/test> git push -u origin master
ERROR: Repository not found.
fatal: The remote end hung up unexpectedly
あなたはGitHubの上で作成したリポジトリを持っていないようだ、多分gitの 'のタイプミスは、リモート原点[email protected]を追加します。markleeds2 /テストを。 git'?ありがとう。 – eagleoneraptor