gist/git
2023-10-22 20:27:45 +03:00
..
etc git/etc/gitconfig: note the proper method in comment 2023-05-24 11:19:47 +03:00
github/activity update submodules 2023-10-22 20:27:45 +03:00
gitignore mv gitignore -> git/gitignore 2022-05-26 12:26:46 +03:00
.gitignore git: add symlink to gitconfig 2023-03-24 11:22:39 +02:00
gitconfig git: add symlink to gitconfig 2023-03-24 11:22:39 +02:00
README.md git/README.md: note debug environment variables 2023-03-24 11:28:13 +02:00

Random git files

  • gitignore - .gitignore templates I may or may not use
  • etc/gitconfig - a /etc/gitconfig for accepting signed pushes

Tracking GitHub pull requests with git

git config --add remote.GITHUB.fetch '+refs/pull/*/head:refs/remotes/GITHUB/pr/*'

Replace GITHUB with the git remote name. I have picked this up from a dead git.io link.

Debugging git

Git obeys some environment variables that may be helpful for troubleshooting

  • GIT_CURL_VERBOSE=1 results to more information what git is doing e.g. during cloning.
  • GIT_TRACE=1 & GIT_TRACE2=1 give very deep debug information