Skip to content

Instantly share code, notes, and snippets.

@AlanG9999
AlanG9999 / git commands.md
Created September 18, 2023 03:07 — forked from scootcho/git commands.md
git commands #git #commands

initialize git depository in the current directory

git init .

display the git remote/origin

cat .git/config
@AlanG9999
AlanG9999 / git-commands-reference.md
Created September 18, 2023 03:01 — forked from adojos/git-commands-reference.md
Git: Common Git Commands #git

Git Configuration Commands


Commands Description
git config --list Prints all your git configuration settings
git config --list --show-origin Prints all git configuration settings along with file name and path to git configuration files. You would see which configuration is set where?