selfteaching / selfteaching/selfteaching-python-camp

Day08 什么情况下应该使用 fetch origin?

Open
#1,519 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
Python
Stars
151
Forks
875
PR merge metrics
No merged PRs in 30d

Description

1、情况

day8的作业,是在day7的文件上改动而成,而day7的文件已被merge至远程公用仓库。因此,在pull request ”day8作业“ 之时,GitHub会报conflict。而后,教练在远程公用仓库那端处理了conflict,并要求我“拉取同步下代码”。

2、疑问

fetch origin 的功用是什么?它的作用难道不是”与远程公用仓库保持同步“么?那么,在自己的作业文件夹与前者并无二致的情况下,同步的作用在什么地方?

烦请教练和同学解疑,致谢。

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the Day07 and Day08 workflow described in the issue and compare it with the remote shared repository state. Check Git's fetch origin behavior; done means a concise explanation of what it updates locally and when synchronization matters.

Written by the indexing model from the issue text.

Assessment

Tech stack
git
Domain
devtools
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.