From dfc0613a785454a80273f01521b3126b900baba0 Mon Sep 17 00:00:00 2001 From: "Hemanth.HM" Date: Fri, 29 Jan 2016 22:09:51 +0530 Subject: [PATCH] List config and alias --- README.md | 6 ++++++ tips.json | 3 +++ 2 files changed, 9 insertions(+) diff --git a/README.md b/README.md index 33b8688..5ed2003 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,7 @@ * [Clean the files from `.gitignore`.](https://github.com/git-tips/tips#clean-the-files-from-gitignore) * [Restore deleted file.](https://github.com/git-tips/tips#restore-deleted-file) * [Always rebase instead of merge on pull.](https://github.com/git-tips/tips#always-rebase-instead-of-merge-on-pull) +* [List all the alias and configs.](https://github.com/git-tips/tips#list-all-the-alias-and-configs) @@ -527,5 +528,10 @@ git checkout ^ -- git config --global branch.autosetuprebase always ``` +## List all the alias and configs. +```sh +git config --list +``` + diff --git a/tips.json b/tips.json index 0753f69..c9a66a9 100644 --- a/tips.json +++ b/tips.json @@ -231,4 +231,7 @@ }, { "title": "Always rebase instead of merge on pull.", "tip": "git config --global branch.autosetuprebase always" +}, { + "title": "List all the alias and configs.", + "tip": "git config --list" }]