git
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
git [2019/05/08 15:34] – [Handling Line Endings] thekojukinator | git [2019/05/08 16:08] (current) – [PowerShell Visual Studio Code Template] thekojukinator | ||
---|---|---|---|
Line 66: | Line 66: | ||
# I've recently discovered some prettier log outputs, so my .gitconfig aliases are like so... | # I've recently discovered some prettier log outputs, so my .gitconfig aliases are like so... | ||
- | hist = log --graph --abbrev-commit --decorate --format=format:' | + | hist = log --graph --abbrev-commit --decorate --format=format:' |
- | hist1 = log --graph --abbrev-commit --decorate --format=format:' | + | hist1 = log --graph --abbrev-commit --decorate --format=format:' |
- | hist2 = log --pretty=format:' | + | hist2 = log --pretty=format:' |
# first two are courtesy of https:// | # first two are courtesy of https:// | ||
</ | </ | ||
Line 558: | Line 558: | ||
!*/ | !*/ | ||
- | # allow .gitignore | + | # allow .git* at top level |
- | !.gitignore | + | !.git* |
- | # whitelist these file types everywhere | + | # allow .md at top level |
- | !**/*.ps1 | + | !*.md |
- | !**/*.psm1 | + | |
- | !**/*.psd1 | + | # whitelist VSCode settings at the top level |
- | !**/*.xml | + | !/.vscode/ |
+ | |||
+ | # whitelist contents of these folders at the top level | ||
+ | !/ | ||
+ | |||
+ | # regardless of above, ignore these folders and files everywhere | ||
+ | **/_logs* | ||
+ | **/_testing* | ||
- | # regardless of above, ignore ' | ||
- | **\.vscode/ | ||
</ | </ | ||
git.1557344077.txt.gz · Last modified: 2019/05/08 15:34 by thekojukinator