1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-12-11 13:04:35 +00:00
MarlinFirmware/buildroot/share/git/mfhelp
Scott Lahteine 74ffa0cc3e 🧑‍💻 More compatible opt helpers
2024-09-23 19:50:07 -05:00

46 lines
1.7 KiB
Bash
Executable File

#!/usr/bin/env bash
#
# mfhelp
#
cat <<THIS
Marlin Firmware Commands:
firstpush ... Push and set-upstream the current branch to 'origin'
ghpc ........ Push the current branch to its upstream branch
ghtp ........ Set the transfer protocol for all your remotes
mfadd ....... Fetch a remote branch from any Marlin fork
mfclean ..... Attempt to clean up merged and deleted branches
mfdoc ....... Build the website, serve locally, and browse
mffp ........ Push new commits directly to MarlinFirmware
mfinfo ...... Provide branch information (for the other scripts)
mfinit ...... Create an 'upstream' remote for 'MarlinFirmare'
mfnew ....... Create a new branch based on 'bugfix-...'
mfpr ........ Push the current branch and open the PR form
mfpub ....... Build and publish the marlinfw.org website
mfqp ........ Commit changes, do an interactive rebase, and push
mfrb ........ Interactively rebase the current branch on 'bugfix-...'
mftest ...... Run a platform test locally with PlatformIO
mfup ........ Fetch the latest 'upstream' and rebase on it
Enter [command] --help for more information.
Build / Test Commands:
mftest ............... Run a platform test locally with PlatformIO
build_all_examples ... Build all configurations of a branch, stop on error
Modify Configuration.h / Configuration_adv.h:
opt_add .............. Add a configuration option (to the top of Configuration.h)
opt_disable .......... Disable a configuration option (modifies )
opt_enable ........... Enable a configuration option
opt_set .............. Set the value of a configuration option
use_example_configs .. Download configs from a remote branch on GitHub
Modify pins files:
pinsformat.py ........ Python script to format pins files
THIS