click below
click below
Normal Size Small Size show me how
git
Question | Answer |
---|---|
Select the correct sequence of commands for downloading, editing, and uploading changes to a code repository using git | git clone; edit files; git add; git commit; git push |
Mark has started a Java project. He uploaded the source code to Github and made it publicly visible. John would like to collaborate on the project with him and suggest a new feature. What is the order of steps John needs to take to get started? | clone the repo locally create and checkout a new branch submit a pull request write the code for the feature commit the code changes push the code to the github central repo |
You start a new software project and use git to track changes. You would like to start on a new idea for an interesting feature, but you don't want the new code to break your old code in case you end up discarding this feature in the future. | start a new branch for your new feature |