How to rebase master in git?
Answer / Kuldeep Kumar Singh
To rebase a feature branch onto the latest master, use the following command: `git checkout <feature-branch> && git rebase master`. This will move the commits from your current branch onto the top of the latest commit on master.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is difference between fork and branch? How to create tag?
How will you know in git if a branch has already been merged into master?
How can conflict in git resolved?
What are the benefits of using version control system?
What is a commit message?
What does a commit object contain?
What is the function of ‘git config’?
What does commit object contain?
What is the difference between fork, branch, and clone?
What is git Is-tree?
What is the function of git clone?
Explain git stash, pop?