mirror of
https://github.com/namibia/tips.git
synced 2025-02-02 19:48:24 +00:00
List config and alias
This commit is contained in:
parent
c99cc15ad1
commit
dfc0613a78
@ -76,6 +76,7 @@
|
|||||||
* [Clean the files from `.gitignore`.](https://github.com/git-tips/tips#clean-the-files-from-gitignore)
|
* [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)
|
* [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)
|
* [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)
|
||||||
|
|
||||||
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
||||||
<!-- @doxie.inject end toc -->
|
<!-- @doxie.inject end toc -->
|
||||||
@ -527,5 +528,10 @@ git checkout <deleting_commit>^ -- <file_path>
|
|||||||
git config --global branch.autosetuprebase always
|
git config --global branch.autosetuprebase always
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## List all the alias and configs.
|
||||||
|
```sh
|
||||||
|
git config --list
|
||||||
|
```
|
||||||
|
|
||||||
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
||||||
<!-- @doxie.inject end -->
|
<!-- @doxie.inject end -->
|
||||||
|
@ -231,4 +231,7 @@
|
|||||||
}, {
|
}, {
|
||||||
"title": "Always rebase instead of merge on pull.",
|
"title": "Always rebase instead of merge on pull.",
|
||||||
"tip": "git config --global branch.autosetuprebase always"
|
"tip": "git config --global branch.autosetuprebase always"
|
||||||
|
}, {
|
||||||
|
"title": "List all the alias and configs.",
|
||||||
|
"tip": "git config --list"
|
||||||
}]
|
}]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user