Replacing my git cheat sheet with GPT-3

Replacing my git cheat sheet with GPT-3

Using GPT-3 to generate git commands from English descriptions of what I want to do. There are some basic skills that are easy if you learn when you are young but can be baffling if you have to master them later in life. For example, driving a car with a manual transmission can seem to be perversely difficult to somebody who learned to drive on an automatic.

There are some basic skills that are easy if you learn when you are young but can be baffling if you have to master them later in life. For example, driving a car with a manual transmission can seem to be perversely difficult to somebody who learned to drive on an automatic. However, the challenge of “driving stick” pales in comparison to mastering the git command line interface if you didn’t grow up with git. In this article I’ll describe how I harnessed OpenAI’s GPT-3 to generate git commands from English language descriptions.

What’s great (and not so great) about git

Git is a foundational technology and a brilliant contribution to modern software development. It also has a set of commands which can seem to be purposely haphazard and inconsistent.

“With all that there is to like about Git, I have always been so frustrated at the lack of clarity in the command-lines for doing anything beyond the simplest action. Heck, even the simplest actions are harder than they need to be.” from [Why the heck is git so hard_](http://merrigrove.blogspot.com/2014/02/why-heck-is-git-so-hard-places-model-ok.html) by Daniel Eklund._

I came to git late in life. I had used a variety of code control / versioning systems in my career at IBM, including the venerable CMVC and Clearcase, which was reasonably accessible but still esoteric in the manner of IBM software from that era. Neither of these systems prepared me at all for the wonderful world of git.

Faced with the challenge of git syntax, I did what any self-respecting software developer in the 21st century would do. I saved my most common git commands in a Word document, along with a description of what the commands did. When I needed to repeat a particular git incantation I could look in this Word document to see if I had done it before and try to figure out the syntax. Sounds awesome, right? Unfortunately, I now had the problem of keeping this document in sync between my personal and work environments, and as it got bigger I ran the risk of losing track of the more basic git commands.

If only there were some way to replace my git cheat sheet with an intelligent assistant that could translate my English language descriptions into git commands…

git gpt-3 python cheatsheet github

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Git And GitHub Full Course | Git And GitHub Tutorial For Beginners

Git and GitHub full course will help you understand the basics of Git, followed by installing Git on Windows. You will learn about GitHub and look at the difference between Git and GitHub. You will look at some of the essential Git commands. Then, you will understand Git merge conflict and how to resolve it. Finally, we'll see some critical git interview questions.

Introduction to Git and GitHub for Python Developers

What is Git, what is GitHub, and what's the difference? Learn the basics of Git and GitHub from the perspective of a Pythonista in this tutorial - Introduction to Git and GitHub for Python Developers

What Are The Key Differences between Python 2 vs Python 3

Python Online Training & Certification courses based on live projects with 100% placement assistance at CETPA, the most credible training institute in Delhi NCR, India.

OpenAI’s Not So Open GPT-3 Can Impact Its Efficacy

OpenAI’s recent breakthrough of pre-trained language model GPT-3 has revolutionised the concept of machines writing codes like humans.

Introduction to Git and GitHub for Python Developers

What is Git, what is GitHub, and what's the difference? Learn the basics of Git and GitHub from the perspective of a Pythonista in this tutorial - Introduction to Git and GitHub for Python Developers