TortoiseGit 設定不同 Github 帳號

筆記下如何跨帳號存取 repo

結論

.\.get\config

[core]
	repositoryformatversion = 0
	filemode = false
	bare = false
	logallrefupdates = true
	symlinks = false
	ignorecase = true
[submodule]
	active = .
[remote "origin"]
	url = https://jakeuj@github.com/Org/ChatDemoByVertexAI.git
	fetch = +refs/heads/*:refs/remotes/origin/*
[branch "main"]
	remote = origin
	merge = refs/heads/main

origin 裡面的 url 加上 帳號@ 來切換不同 github 帳號

參照

git - TortoiseGit - Multiple GitHub repositories with different key pairs each - Stack Overflow

PS5