Skip to content

Commit dfc0613

Browse files
committed
List config and alias
1 parent c99cc15 commit dfc0613

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
* [Clean the files from `.gitignore`.](https://github.com/git-tips/tips#clean-the-files-from-gitignore)
7777
* [Restore deleted file.](https://github.com/git-tips/tips#restore-deleted-file)
7878
* [Always rebase instead of merge on pull.](https://github.com/git-tips/tips#always-rebase-instead-of-merge-on-pull)
79+
* [List all the alias and configs.](https://github.com/git-tips/tips#list-all-the-alias-and-configs)
7980

8081
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
8182
<!-- @doxie.inject end toc -->
@@ -527,5 +528,10 @@ git checkout <deleting_commit>^ -- <file_path>
527528
git config --global branch.autosetuprebase always
528529
```
529530

531+
## List all the alias and configs.
532+
```sh
533+
git config --list
534+
```
535+
530536
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
531537
<!-- @doxie.inject end -->

tips.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,4 +231,7 @@
231231
}, {
232232
"title": "Always rebase instead of merge on pull.",
233233
"tip": "git config --global branch.autosetuprebase always"
234+
}, {
235+
"title": "List all the alias and configs.",
236+
"tip": "git config --list"
234237
}]

0 commit comments

Comments
 (0)