Skip to content

Latest commit

 

History

History
73 lines (55 loc) · 3.34 KB

CONTRIBUTING.md

File metadata and controls

73 lines (55 loc) · 3.34 KB

Contributing

git remote -v
git remote add upstream [email protected]:rafaelperoco/kind.git
git remote -v
  • Create a branch using the pattern: git checkout -b BRANCH_NAME. Example: git checkout -b mybranch
  • Make your changes to the new branch.
  • Test your changes in development environment.
  • Commit the changes to the branch.
  • Push files to repository remote with command git push --set-upstream origin BRANCH_NAME. Example: git push --set-upstream origin mybranch
  • Create Pull Request (PR) to the main branch. See this tutorial
  • Update the content with the suggestions of the reviewer (if necessary).
  • After your pull request is merged, update your local clone.
git checkout main
git pull upstream main
  • Clean up after your pull request is merged with command git branch -d <branch name>. Example: git branch -d mybranch
  • Then you can update the main branch in your forked repository.
git push origin main
  • And push the deletion of the feature branch to your GitHub repository with command git push --delete origin <branch name>. Example: git push --delete origin mybranch
  • To keep your fork in sync with the original repository, use these commands:
git pull upstream main
git push origin main

Reference:

About Visual Code (VSCode)

VSCode (https://code.visualstudio.com), combined with the following plugins, helps the editing/review process, mainly allowing the preview of the content before the commit, analyzing the Markdown syntax and generating the automatic summary, as the section titles are created/changed.

Plugins to Visual Code:

Theme for VSCode: