Browse Source

Add 'mfhelp' script

Not all scripts answer --help yet. This will be added to 'mfinfo' soon.
Scott Lahteine 5 years ago
parent
commit
a23021b823
1 changed files with 28 additions and 0 deletions
  1. 28
    0
      buildroot/share/git/mfhelp

+ 28
- 0
buildroot/share/git/mfhelp View File

@@ -0,0 +1,28 @@
1
+#!/usr/bin/env bash
2
+#
3
+# mfhelp
4
+#
5
+
6
+cat <<THIS
7
+Marlin Firmware Commands:
8
+
9
+  firstpush ... Push and set-upstream the current branch to 'origin'
10
+  ghpc ........ Push the current branch to its upstream branch
11
+  ghtp ........ Set the transfer protolcol for all your remotes
12
+  mfadd ....... Fetch a remote branch from any Marlin fork
13
+  mfclean ..... Attempt to clean up merged and deleted branches
14
+  mfdoc ....... Build the website, serve locally, and browse
15
+  mffp ........ Push new commits directly to MarlinFirmware
16
+  mfinfo ...... Provide branch information (for the other scripts)
17
+  mfinit ...... Create an 'upstream' remote for 'MarlinFirmare'
18
+  mfnew ....... Create a new branch based on 'bugfix-...'
19
+  mfpr ........ Push the current branch and open the PR form
20
+  mfpub ....... Build and publish the marlinfw.org website
21
+  mfqp ........ Commit changes, do an interactive rebase, and push
22
+  mfrb ........ Interactively rebase the current branch on 'bugfix-...'
23
+  mftest ...... Run a platform test locally with PlatformIO
24
+  mfup ........ Fetch the latest 'upstream' and rebase on it
25
+
26
+  Enter [command] --help for more information.
27
+
28
+THIS

Loading…
Cancel
Save