Skip to main content

One post tagged with "Development Tools"

View All Tags

Git commands used by R2Devops’ team

· 5 min read

Starting git commands

First of all, let’s have a look at some useful starting commands that you will need to begin your git project!

git config

This command allows you to get and set a repository or global options.

Example:

git config --global user.name DarkVador

In this example, the command set the name that will be attached to your commits and tags.

git config --global user.email DarkVadorOff@StarWars.com

In the same way, the command sets the email that will be attached to your git account.