CodeForPhilly / CodeForPhilly/decentralized-data
"Actually Using Git": can't branch on an empty repo
- Ngôn ngữ chính
- CSS
- Star
- 6
- Fork
- 2
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Open tutorials/actually-using-git/lessons/conflicting-branches.md and review the instructions for participants who choose git init. Clarify that they should create, add, and commit a dummy readme.md before creating a branch. Done means the git init path no longer leads to the reported error.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- git
- Lĩnh vực
- documentation
- Loại issue
- Tài liệu
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 65/100