Skip to content

Add steps for if you fail to sync your fork #823

@JLKwong

Description

@JLKwong

Problem

In Step 6, GitHub Issues, the steps to sync your fork do not work in all cases.

Steps to reproduce the problem

Although I encountered this, I don't know what I did to produce this problem. My master branch was ahead of treehouses's branch for some reason, and syncing my fork would not make it even.

Screenshots

image

Proposed solution

Add optional steps after the original steps to sync your fork:

If you encounter any issues with syncing your fork:

  1. Read the Technical Questions in our FAQ for your issue.
  2. If you still cannot resolve the issue, please go to the treehouses Gitter chat and @/all explaining your issue.

Add the following to the Technical Questions section in the FAQ page:

If your master branch is ahead by x commits on your GitHub repository, try the following steps to resolve your issue:

  1. Go to your master branch using git checkout master.
  2. Undo local changes using git reset.
  3. Push using git push --force.
  4. If your master branch is still ahead, force the undo using git reset --hard upstream/master, then push again using git push --force.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions