-
Notifications
You must be signed in to change notification settings - Fork 25
Hands-on: Fetch and merge from a remote #99
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
base: main
Are you sure you want to change the base?
Conversation
woojiahao
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some minor nits about coding convention!
hands_on/fetch_merge.py
Outdated
| from exercise_utils.gitmastery import create_start_tag | ||
|
|
||
| __requires_git__ = True | ||
| __requires_github__ = True |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you're not using gh, you don't need this to be set to true
| __requires_github__ = True | |
| __requires_github__ = False |
hands_on/fetch_merge.py
Outdated
|
|
||
| def download(verbose: bool): | ||
| os.makedirs("samplerepo-finances") | ||
| # Clone the samplerepo-finances repo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| # Clone the samplerepo-finances repo |
hands_on/fetch_merge.py
Outdated
| # Clone the samplerepo-finances repo | ||
| run_command(["git", "clone", "https://github.com/git-mastery/samplerepo-finances.git"], verbose) | ||
| os.chdir("samplerepo-finances") | ||
| # Change the remote origin to point to samplerepo-finances-2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| # Change the remote origin to point to samplerepo-finances-2 |
hands_on/fetch_merge.py
Outdated
|
|
||
| pass |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| pass |
once the function behavior is populated, you are free to remove pass
|
@woojiahao understood, implemented suggested changes in latest commit. |
Exercise Review
Exercise Discussion
#86
Checklist
Git-Masteryorganization, have you created a request for it?repo-smithto validate the exercise grading scheme?test-download.sh?git-autograder?app?