Improvement to Lifecycle of a Pull Request at git push origin
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Python
- Star
- 2.1k
- Fork
- 1k
- Merge trung bình
- 2 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 12
Mô tả
Where:
When all of your changes are committed (i.e. git status doesn’t list anything), you will want to push your branch to your fork:
git push origin <branch name>
This will get your changes up to GitHub.
There is a step missing which gave me some issue. That is the bit about the git command responds with username and password. If you enter your GitHub password the response is:
Username for 'https://github.com':
Password for 'https://@github.com':
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
fatal: Authentication failed for 'https://github.com//cpython.git/'
So I suggest adding enough info to get the beginners around this such that the page now reads:
Ensure that you have created a personal access token link.
Note that you will likely need the token until your changes have been accepted.
When all of your changes are committed (i.e. git status doesn’t list anything), you will want to push your branch to your fork:
git push origin <branch name>
At the password prompt:
Password for 'https://@github.com':
Enter you personal access token (ghp_1e3f...) instead of your usual GitHub password.
This will get your changes up to GitHub.
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Tìm đoạn trong developer guide đề cập đến git push origin <branch name> và đọc các hướng dẫn xác thực xung quanh đoạn đó. Cập nhật đoạn này để giải thích về GitHub personal access tokens tại lời nhắc nhập mật khẩu, sử dụng tài liệu GitHub được liên kết; công việc được xem là hoàn tất khi người mới bắt đầu được hướng dẫn không nhập mật khẩu GitHub thông thường của họ.
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, github
- 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
- 52/100