문제

Is it correct to say that the following two commands

git merge X
git rebase X

only change/affect the current branch and not X (or any other branch)?

I think I understand what both commands do, but I want to make sure my assumption is correct.

도움이 되었습니까?

해결책

Yes, your assumption is correct. Both commands will affect only the branch you're on when you run the command.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top