To run a comparative search of the last 10 commits for differences.Use git bisect to compare the buggy commit to an early commit that works as expected.Run a git rebase to find the buggy commit.Use git search -diff to compare all commits in your repository history.Manually backtrack through your commit history.You find a bug in your project, but can't locate where it was introduced in the commit history. It sets HEAD to the previous commit and leaves changes from the undone commit in the stage/index.It keeps the HEAD at the current commit, but clears all previous commits.It resets the working branch to the first commit.It deletes all previous commits and reset the repository history back to its initial state.What does the following command do to the git repository? The branch is switched to the feature-user-location branch, and the specified commit is applied to the branch.A commit is being copied from the feature-user-location branch to the master branch.The commit is being cherry picked as the new HEAD of the commit history.A commit is being copied from its original branch over to the feature-user-location branch.The commit is being tagged for release on the feature-user-location branch.Looking at the following commands, describe what is happening. The last 5 git versions you've installed.An inline editor for modifying remote repositories.A list of remote repositories and their URLs.What will the following command print to the Terminal? Files are staged in alphabetical order.Which of the following is true you when you use the following command? Checkout the beta branch and run git merge push-notifications.Delete the push-notifications branch and it will be committed to the master branch automatically.Checkout the master branch and run git merge beta -> push-notifications.Checkout the push-notifications branch and run git merge beta.You've just finished the notification feature in the push-notification branch, and you want to commit it to beta branch. Your current project has several branches master, beta, and push-notifications. This whole operation could be a way to take 5 commits from a branch in which you started a new feature and squash them to a single commit, a meaningful one. This command sets the state of the index to be as it would just after a merge from that commit.
0 Comments
Leave a Reply. |