Tweak git-sync behaviour in .gitconfig instead of the CLI
This commit is contained in:
parent
d83ce3ab34
commit
0dbd277c2f
2 changed files with 5 additions and 1 deletions
|
|
@ -10,6 +10,10 @@
|
|||
[remote]
|
||||
pushDefault = .
|
||||
[git-sync]
|
||||
# keep-sorted start
|
||||
syncEnabled = true
|
||||
syncNewFiles = true
|
||||
syncSkipHooks = true
|
||||
# keep-sorted end
|
||||
[include]
|
||||
path = .hostgitconfig
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ sync_repo () {
|
|||
repo=$1
|
||||
|
||||
echo git-sync "${repo}"
|
||||
( cd "${repo}" && "$(systemd-path user-state-private)"/git-sync/git-sync -n -s sync )
|
||||
( cd "${repo}" && "$(systemd-path user-state-private)"/git-sync/git-sync sync )
|
||||
echo
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue