Skip to content
GitLab
Next
    • Why GitLab
    • Pricing
    • Contact Sales
    • Explore
  • Why GitLab
  • Pricing
  • Contact Sales
  • Explore
  • Sign in
  • Get free trial
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #409636

Feedback issue for: [AI Create] Generate git commands in the CLI using Natural Language 📣

ASK 1: Rate the quality of the AI Responses

Use this comment below to rate AI Response ⏬

ASK 2: Give other feedback relating to your experience

Please, provide feedback regarding your experience with the AI powered feature to have source code explained by adding a comment in this issue.

How to use this experimental feature

  1. Prerequisites:

    1. The feature is only available for users on GitLab.com at the moment
    2. You must be a member of a project that is in the Ultimate tier (but you can use the feature in any of your local repositories)
    • Note: Wider community members can request access to the GitLab Community Forks
  2. Setup the GitLab CLI on your computer. Don't worry, this is super easy and you will be rewarded with tons of other cool features!

    1. Install the GitLab CLI (E.g. on mac: brew install glab)
    2. Make sure you are at least on version 1.29.2 (2023-05-10) by typing glab -v. If you are not, upgrade to the latest version. (e.g. on mac: brew upgrade glab)
    3. Setup Authentication
  3. Use this syntax to generate a git command with AI:

    glab ask git + <your question> for example glab ask git how do I know the branch I am currently on

  4. You can then also choose to have the generated command executed.

Demo

output

Edited May 19, 2023 by Daniel Murphy
Assignee
Assign to
Time tracking