# Have git remember credentials # git config --global credential.helper (store|cache|libsecret|git-credential-manager-core) # setting up git on a new machine: # https://jamiam.dev/posts/how-to-add-git-credentials-on-linux-mac-hosts/ # Setting up a new repo *make first commit* # git remote add origin # git push -u origin master [user] email = notjamesdixon@gmail.com name = James Dixon [color] ui = true status = auto branch = auto [diff] tool = vimdiff [difftool] prompt = false [pull] ff = only [alias] s = status st = status a = add aa = add --all ai = add -i c = commit ca = commit -a cm = commit -m cam = commit -am co = checkout cob = checkout -b br = branch d = diff df = diff dt = difftool lg = log plog = log --all --decorate --oneline --graph graph = log --all --decorate --oneline --graph pl = pull pul = pull ps = push puhs = push sw = switch swc = switch -c sm = submodule rv = remote -v [credential "https://dev.azure.com"] useHttpPath = true [credential] helper = store # https://cli.github.com/manual/gh_auth_setup-git # gh auth setup-git [credential "https://github.com"] helper = !/usr/bin/gh auth git-credential [credential "https://gist.github.com"] helper = !/usr/bin/gh auth git-credential # vim: set list et!: