gist/git
2024-06-19 08:59:54 +03:00
..
etc run prettier 2024-06-19 08:53:27 +03:00
github/activity update submodules & specify their branches 2024-06-19 08:59:54 +03:00
gitignore run prettier 2024-06-19 08:53:27 +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 run prettier 2024-06-19 08:53:27 +03: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