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

Can we access the private repositories with username and password. ? #72

Closed
kvvaradha opened this issue Aug 26, 2021 · 5 comments
Closed

Comments

@kvvaradha
Copy link

Hi

thank you for trying to bring a great feature into PHP.

Can you tell me is it possible to bring the pirvate repositories clone, git and push with help your library ?

@janpecha
Copy link
Contributor

Hi, yes, it is possible - see section Remote / Troubleshooting in README https://github.com/czproject/git-php#remotes for more information.

@kvvaradha
Copy link
Author

hi again, thank you i found it, its useful to check it.
i need one more help from you.

is it available to get the files changed from the Commit class. As i checked i think there is no such a thing is there for now. ?

@kvvaradha
Copy link
Author

Provide me a simple example if possible. thank you

@janpecha
Copy link
Contributor

Hi, Commit class cannot get list of changed files but you can use custom call $repo->execute() (https://github.com/czproject/git-php#other-commands)

@kvvaradha
Copy link
Author

thank you, i will check the command

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

No branches or pull requests

2 participants