Configuration Commands

Configuration Commands

Git Configuration Commands

What's the current directory (present working directory)?

pwd

Git Config (Global/User-level) Syntax

git config --global setting value

Configure User and Email

General Syntax:
git config --global user.name "Your Name"
git config --global user.email "you@someplace.com"
Example using course author's information:
git config --global user.name "Jason Taylor"
git config --global user.email "jason@jasongtaylor.com"

Listing All Global Configuration Settings

git config --global --list

Seeing Git's User-based Config file

cat ~/.gitconfig

Bu blogdaki popüler yayınlar

SDLC - Software Development Life Cycle

@SerializedName and @Expose annotations