Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #55

Merged
merged 1 commit into from
Mar 15, 2023
Merged

Update README.md #55

merged 1 commit into from
Mar 15, 2023

Conversation

rmie
Copy link
Contributor

@rmie rmie commented Jan 27, 2023

Using '' instead of "" defers evaluation of e. g. $(pwd) until the alias is used. Additionally, set uid:gid and provide passwd and group from host, runs git as the current user instead of root

@ozbillwang
Copy link
Contributor

can you add as usage 3?

@rmie
Copy link
Contributor Author

rmie commented Mar 15, 2023

@ozbillwang PTAL

@ozbillwang ozbillwang merged commit 07a180a into alpine-docker:master Mar 15, 2023
@ghost
Copy link

ghost commented May 9, 2023

I am getting a

Cloning into 'repo-folder'...
No user exists for uid 131
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

when using this third usage as alias.
Any idea?

@rmie
Copy link
Contributor Author

rmie commented May 9, 2023

I guess you are asking because of:

No user exists for uid 131

The assumption here is that /etc/passwd contains an entry for your uid (131 in this case), which might not be if e.g. LDAP is used to provide user and groups.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants