In git, how would you return a commit that has just been pushed and made open?
Answer / Sonu Prakash
To return a commit that has just been pushed and made open, you can use the following command:n$ git show <commit-hash>nReplace `<commit-hash>` with the actual hash of the committed changes.
| Is This Answer Correct ? | 0 Yes | 0 No |
In git how do you revert a commit that has already been pushed and made public?
Why is it desirable to create an additional commit rather than amending an existing commit?
what is git fork? What is difference between fork and branch? How to create tag?
Name a few git commands and explain their usage.
What is a repository and how will you create it?
Name a few git commands?
What is a distributed vcs?
What is the function of ‘git checkout’ in git?
What is git fork? How to create tag?
What does ‘hooks’ comprise of in git?
What is the syntax for “Rebasing” in Git?
Can you explain the gitflow workflow?