What is the function of ‘git reset’?
Answer / Tuba Shakeel
'git reset' allows you to undo changes in your working directory, staging area, or commit history. It can be used to move the pointer to a different commit, discard changes since that commit, or even remove commits from the repository (with `--hard` option).
| Is This Answer Correct ? | 0 Yes | 0 No |
What is subgit?
What is the command you can use to write a commit message?
Why GIT better than Subversion?
To delete a branch what is the command that is used?
What is the function of ‘git rm’?
What is the use of ‘git log’?
How to remove a file from git without removing it from your file system?
How to revert previous commit in git?
What are the benefits of using version control system?
What is rebasing syntax in git?
What work is restored when the deleted branch is recovered?
Describe the branching strategies you have used.