mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
doc: update default branch name in Makefile
PR-URL: https://github.com/nodejs/node/pull/43441 Refs: https://github.com/nodejs/node/issues/33864 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: LiviaMedeiros <livia@cirno.name> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
This commit is contained in:
1 parent
8d0bca586f
commit
f2dfe9b708
1 file changed
+2
-2
@@ -1429,8 +1429,8 @@ CLANG_FORMAT_START ?= HEAD
|
||||
# $ make format-cpp
|
||||
# To format HEAD~1...HEAD (latest commit):
|
||||
# $ CLANG_FORMAT_START=`git rev-parse HEAD~1` make format-cpp
|
||||
# To format diff between master and current branch head (master...HEAD):
|
||||
# $ CLANG_FORMAT_START=master make format-cpp
|
||||
# To format diff between main and current branch head (main...HEAD):
|
||||
# $ CLANG_FORMAT_START=main make format-cpp
|
||||
format-cpp: ## Format C++ diff from $CLANG_FORMAT_START to current changes
|
||||
ifneq ("","$(wildcard tools/clang-format/node_modules/)")
|
||||
$(info Formatting C++ diff from $(CLANG_FORMAT_START)..)
|
||||
|
||||
Reference in new issue
Block a user