mirror of
https://github.com/mike-rambil/Advanced-Git.git
synced 2025-12-29 05:29:36 -06:00
chore: auto-generate README.md from toc-source.json
This commit is contained in:
@@ -29,15 +29,21 @@ git maintenance start --schedule=hourly
|
||||
|
||||
#### Steps
|
||||
1. Run `git maintenance start` in your repository.
|
||||
2. Optionally, use `--schedule=hourly` or `--schedule=daily` to control how often maintenance runs.
|
||||
3. `Git will now automatically run tasks like garbage collection, pruning unreachable objects, and optimizing internal data structures in the background`.
|
||||
4. You can stop background maintenance with `git maintenance stop` if needed.
|
||||
|
||||
|
||||
#### ProTips
|
||||
> [!TIP]
|
||||
> Set up maintenance on large repos to keep them fast.
|
||||
> Set up maintenance on large or long-lived repos to keep them fast and healthy.
|
||||
|
||||
> [!TIP]
|
||||
> Use with cron or scheduled tasks for automation.
|
||||
|
||||
> [!TIP]
|
||||
> If you notice Git getting slow, check if maintenance is enabled or run it manually.
|
||||
|
||||
|
||||
|
||||
#### Links
|
||||
|
||||
@@ -30,16 +30,21 @@ git request-pull main https://github.com/example/repo.git feature-branch
|
||||
|
||||
|
||||
#### Steps
|
||||
1. Run `git request-pull <start> <url> <end>` to generate a pull request message.
|
||||
1. Identify the base commit or branch you want to compare from (e.g., main or v1.0).
|
||||
2. Run `git request-pull <start> <url> <end>` to generate a pull request message.
|
||||
3. Send the generated message to the project maintainer (e.g., via email or chat).
|
||||
|
||||
|
||||
#### ProTips
|
||||
> [!TIP]
|
||||
> Use request-pull to generate a summary for code reviews.
|
||||
> Use this command when collaborating via email or outside of web-based platforms.
|
||||
|
||||
> [!TIP]
|
||||
> Include a clear start and end point for clarity.
|
||||
|
||||
> [!TIP]
|
||||
> Review the generated message before sending to ensure it accurately describes your changes.
|
||||
|
||||
|
||||
|
||||
#### Links
|
||||
|
||||
Reference in New Issue
Block a user