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" }]