railsチュートリアルをcloud9を使って勉強してます。
OSはwindowsです
1.4.3のbitbucketの公開鍵の所で、
[リポジトリの作成] をクリックすると画面が遷移し、[Let’s put some bits in your bucket] と表示されます。その後、ページ下部にある [Push your local repository to Bitbucket] の指示にしたがってコマンドを入力します。
と書いてありますが、
[Let’s put some bits in your bucket]のページの下部には、
Get started quickly
Creating a README or a .gitignore is a quick and easy way to get something into your repository.
Create a README←クリックできます
Create a .gitignore←クリックできます
Get your local Git repository on Bitbucket
Step 1: Switch to your repository's directory
1,cd /path/to/your/repo
Step 2: Connect your existing repository to Bitbucket
1,git remote set-url origin git@bitbucket.org:koudai6419/hello_app.git
2,git push -u origin master
←クリックできます、という部分をクリックせずに、step1 と step2のコードをターミナルに打ち込んだんですが、
step1では
bash: cd: /path/to/your/repo: No such file or directory
step2では
fatal: Not a git repository (or any of the parent directories): .git
が続けて表示されます。
このページで問題はないのでしょうか?
またCreate a READMEかCreate a .gitignoreのどちらかをクリックするべきでしょうか?
初歩的な質問ですいません。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/06/24 13:44
2018/06/24 13:50
2018/06/24 13:57
2018/06/24 14:02
退会済みユーザー
2018/06/26 02:17
2018/06/26 08:56
2018/06/26 09:08
2018/06/26 09:26