1
0
mirror of https://github.com/namibia/tips.git synced 2024-06-25 22:52:34 +00:00

List config and alias

This commit is contained in:
Hemanth.HM 2016-01-29 22:09:51 +05:30
parent c99cc15ad1
commit dfc0613a78
2 changed files with 9 additions and 0 deletions

View File

@ -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)
<!-- Dont remove or change the comment below that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
<!-- @doxie.inject end toc -->
@ -527,5 +528,10 @@ git checkout <deleting_commit>^ -- <file_path>
git config --global branch.autosetuprebase always
```
## List all the alias and configs.
```sh
git config --list
```
<!-- Dont remove or change the comment below that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
<!-- @doxie.inject end -->

View File

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