From ff2ad2b02b6f89528930c83085cd7e1d643cbe41 Mon Sep 17 00:00:00 2001 From: Sadayuki Matsuno Date: Mon, 13 Apr 2020 02:34:27 +0900 Subject: [PATCH] update readme --- README.md | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6f0fe57..4a2d3f4 100644 --- a/README.md +++ b/README.md @@ -71,10 +71,26 @@ git config --system --show-origin --get credential.helper - All settings are complete. All that's left to do is to use the git command as usual +# Usage + +- git clone + - Since the current direcotry is judged by the credential information, create a directory with the name of organization when you do git clone. + +``` +mkdir `${organization_name}` +cd `${organization_name}` +git clone /~https://github.com/${organization_name}/xxxx +``` + +- other git command + - If you're in the git directory, your credentials are automatically determined using the organization of the origin + # Debug -To check which directory uses which credentials, try running `git-credential-substitute` in the target directory. +- To check which directory uses which credentials, try running `git-credential-substitute` in the target directory. +- Putting `GIT_CURL_VERBOSE=1` at the beginning of git command + - ex. `GIT_CURL_VERBOSE=1 git clone xxx/xxxx` # Author -[sadayuki-matsuno](/~https://github.com/sadayuki-matsuno) +[sadayuki-matsuno](/~https://github.com/sadayuki-matsuno) \ No newline at end of file