Git : Add git fsck bash function.
This commit is contained in:
parent
c584b970a6
commit
2e1b23c91f
|
@ -123,6 +123,11 @@
|
|||
git gc --aggressive --no-cruft --prune=now
|
||||
}
|
||||
|
||||
# Check git file integrity.
|
||||
function gfsck() {
|
||||
git fsck
|
||||
}
|
||||
|
||||
# Preview diff while adding. Adds current dir by default.
|
||||
# Usage: ga [FILES]
|
||||
function ga() {
|
||||
|
|
Loading…
Reference in a new issue