My static website generator using poole https://www.xythobuz.de
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

sh_sql.min.js 3.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. rk _after_ your commits, which buries them deeper in the commit history and makes it hard to bring them together as a final packaged unit. Rebase helpfully moves your commits to the tip of the branch, ensuring that your commits are adapted to the current code. This makes it easier to keep revising the commits in-place.
  2. ### The Scripts
  3. The following scripts can be used on any system with a GNU environment to speed up the process of working with Marlin branches and submitting changes to the project.
  4. #### Remotes
  5. File|Description
  6. ----|-----------
  7. mfadd [user]|Add and Fetch Remote - Add and fetch another user's Marlin fork. Optionally, check out one of their branches.
  8. mfinit|Init Working Copy - Create a remote named '`upstream`' (for use by the other scripts) pointing to the '`MarlinFirmware`' fork. This only needs to be used once. Newer versions of Github Desktop may create `upstream` on your behalf.
  9. #### Branches
  10. File|Description
  11. ----|-----------
  12. mfnew [branch]|New Branch - Creates a new branch based on `upstream/[PR-target]`. All new work should start with this command.
  13. mffp|Fast Push - Push the HEAD or a commit ID to `upstream` immediately. Requires privileged access to the MarlinFirmware repo.
  14. firstpush|Push the current branch to 'origin' -your fork on Github- and set it to track '`origin`'. The branch needs to reside on Github before you can use it to make a PR.
  15. #### Making / Amending PRs
  16. File|Description
  17. ----|-----------
  18. mfpr|Pull Request - Open the Compare / Pull Request page on Github for the current branch.
  19. mfrb|Do a `git rebase` then `git rebase -i` of the current branch onto `upstream/[PR-target]`. Use this to edit your commits anytime.
  20. mfqp|Quick Patch - Commit all current changes as "patch", then do `mfrb`, followed by `git push -f` if no conflicts need resolution.
  21. #### Documentation
  22. File|Description
  23. ----|-----------
  24. mfdoc|Build the documentation with Jekyll and preview it locally.
  25. mfpub|Build and publish the documentation to marlinfw.org.
  26. #### Utilities
  27. File|Description
  28. ----|-----------
  29. ghtp -[h/s]|Set the protocol to use for all remotes. -h for HTTPS, -s for SSL.
  30. ghpc [-f]|Push current branch to 'origin' or to the remote indicated by the error.
  31. mfinfo|This utility script is used by the other scripts to get:<br/>- The upstream project ('`MarlinFirmware`')<br/>- the '`origin`' project (i.e., your Github username),<br/>- the repository name ('`Marlin`'),<br/>- the PR target branch ('`bugfix-1.1.x`'), and<br/>- the current branch (or the first command-line argument).<br/><br/>By itself, `mfinfo` simply prints these values to the console.
  32. mfclean&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|Prune your merged and remotely-deleted branches.
  33. ---
  34. ### Examples
  35. For a demonstration of these scripts see the video [Marlin Live - May 9 2019](https://youtu.be/rwT4G0uVTIY). There is also an old write-up at [#3193](https://github.com/MarlinFirmware/Marlin/issues/3193).