CodeForPhilly / CodeForPhilly/decentralized-data

"Actually Using Git": can't branch on an empty repo

オープン
#16 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
CSS
スター
6
フォーク
2
PR マージ指標
30日以内にマージされた PR はありません

説明

On tutorials/actually-using-git/lessons/conflicting-branches.md , there are three reasonable ways to initialize a repo:
1. Reuse an existing repo
2. Create a new repo on Github and then clone it
3. Use `git init`

If a participant uses the third option (`git init`) and then, following the directions, immediately tries to create a new branch, they'll get an error:

```
fatal: Not a valid object name: 'master'.
```

Instead, they should create a dummy `readme.md`, add and commit it, and then proceed.

The instructions should be clarified for folks who choose the third option.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。