Skip to content

Instantly share code, notes, and snippets.

@schalkneethling
Last active July 19, 2022 11:42
Show Gist options
  • Save schalkneethling/2666e9c74605c80406ff16636547bcb0 to your computer and use it in GitHub Desktop.
Save schalkneethling/2666e9c74605c80406ff16636547bcb0 to your computer and use it in GitHub Desktop.
  • On main I first did: git pull origin main
  • Added your fork as a remote: git remote add dipika https://github.com/dipikabh/content.git
  • Fetched the branch: git fetch dipika move-contrib-docs:move-contrib-docs
  • Switched to the branch: git switch move-contrib-docs
  • Merged main onto your branch: git merge main
  • Removed all the files that was causing conflicts:
rm files/en-us/mdn/guidelines/code_guidelines/css/index.md files/en-us/mdn/guidelines/code_guidelines/general/index.md
files/en-us/mdn/guidelines/code_guidelines/javascript/index.md files/en-us/mdn/guidelines/code_guidelines/shell/index.md
files/en-us/mdn/guidelines/writing_style_guide/index.md files/en-us/related/criteria_for_inclusion/index.md files/en-us/related/project_guidelines/index.md
  • Add changes: git add .
  • Committed the changes: git commit -m 'remove moved files from origin location'
  • Pushed the changes to your branch: git push dipika move-contrib-doc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment