-
Notifications
You must be signed in to change notification settings - Fork 954
Update README.md #379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Update README.md #379
Conversation
WalkthroughThe README documentation was updated to clarify the usage of the Changes
Poem
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -16,7 +16,7 @@ There is a way to easily fix it with advanced options for `git commit` and `git | |||
|
|||
1. Explore the repo and the history so you know when the documentation file was added. | |||
2. Fix `README.md` file and add it. | |||
3. Add your commit by using `git commit --fixup=<commit id to be fixed>`. | |||
3. Add your commit by using `git commit --fixup=<commit id to be fixed>`or use just git commit --fixup= commit id. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix invalid --fixup
example and formatting
git commit
accepts either --fixup=<commit>
(no space after =
) or --fixup <commit>
(space, no =
).
The newly-added variant --fixup= commit id
is syntactically wrong and will throw “option requires an argument”.
It also lacks back-ticks and a space after the closing back-tick of the first example.
-3. Add your commit by using `git commit --fixup=<commit id to be fixed>`or use just git commit --fixup= commit id.
+3. Add your commit by using `git commit --fixup=<commit-id-to-be-fixed>` or `git commit --fixup <commit-id-to-be-fixed>`.
📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
3. Add your commit by using `git commit --fixup=<commit id to be fixed>`or use just git commit --fixup= commit id. | |
3. Add your commit by using `git commit --fixup=<commit-id-to-be-fixed>` or `git commit --fixup <commit-id-to-be-fixed>`. |
🤖 Prompt for AI Agents
In rebase-interactive-autosquash/README.md at line 19, fix the example usage of
git commit --fixup by removing the space after the equals sign in
--fixup=<commit id> and add a correct alternative with a space but no equals
sign as --fixup <commit id>. Also, add missing back-ticks around the commands
and ensure there is a space after the closing back-tick of the first example for
proper formatting.
Small edit that helps avoids shell misinterpretations.
Summary by CodeRabbit
git commit --fixup
command in the README, including an additional example of specifying the commit ID.