-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
For reasons I haven't investigated, my ~/.dotfiles/config files are missing a fetch option for the "origin" remote. Here's the config for my clone of gitdot itself:
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = https://github.com/smammy/gitdot.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "main"]
remote = origin
merge = refs/heads/mainAnd here's the same file for a dotfiles repo cloned by gitdot:
[core]
repositoryformatversion = 0
filemode = true
bare = true
excludesFile = .config/gitdot/exclude
[remote "origin"]
url = https://github.com/smammy/dotfiles.git
[status]
showUntrackedFiles = no
[branch "main"]
remote = origin
merge = refs/heads/mainThe effect of this is that git doesn't create remote-tracking branches, so it can't show me anything in git branch -r and commits aren't labeled with remote refs in git log.
Metadata
Metadata
Assignees
Labels
No labels