Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
sadayuki-matsuno committed Apr 12, 2020
1 parent 8c55923 commit ff2ad2b
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit ff2ad2b

Please sign in to comment.