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

Cloning a Remote Repo #4

Open
Adamtaranto opened this issue Oct 20, 2024 · 0 comments
Open

Cloning a Remote Repo #4

Adamtaranto opened this issue Oct 20, 2024 · 0 comments

Comments

@Adamtaranto
Copy link
Collaborator

2: How to get a repo from github

Clone
Create and Clone
Fork and Clone

Explain Create and clone

Clone some broken code
curl some big data
ignore fasta
run the code
fix the code
commit the fix
attempt and fail to push to remote
list remotes

  • lesson: need to be an owner or collaborator to push to a repo

Fork, an alternative for contributing to projects:
Fork the broken code
fix the code and commit
push to our fork
Add your name to CONTRIBUTORS

# Contributors
- YOUR NAME HERE
- A. Trainer
- More names

commit changes

trainer to make conflicting commit to upstream main

view remotes

Pull from upstream main

conflict!

resolve conflict locally in VScode

  • lesson: Contributing with PRs
  • PR vs pull

View our fork on github

  • option to contribute back to original repo
  • option to contribute to another fork
  • Open a PR to partners fork
  • resolve merge conflict
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

1 participant