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
-
Prerequisites:
- The feature is only available for users on GitLab.com at the moment
- 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
-
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!
-
Install the GitLab CLI (E.g. on mac:
brew install glab
) - Make sure you are at least on
version 1.29.2 (2023-05-10)
by typingglab -v
. If you are not, upgrade to the latest version. (e.g. on mac:brew upgrade glab
) - Setup Authentication
-
Install the GitLab CLI (E.g. on mac:
-
Use this syntax to generate a git command with AI:
glab ask git
+<your question>
for exampleglab ask git how do I know the branch I am currently on
-
You can then also choose to have the generated command executed.