0
git-tfs를 사용하고 있습니다.Git-tfs - 리모컨을 특정 sha로 재설정합니다.
어떻게 리모컨을 특정 샤시로 재설정 할 수 있습니까?
기본적으로 리모컨의 변경 사항을 취소하고 싶습니다.
git-tfs를 사용하고 있습니다.Git-tfs - 리모컨을 특정 sha로 재설정합니다.
어떻게 리모컨을 특정 샤시로 재설정 할 수 있습니까?
기본적으로 리모컨의 변경 사항을 취소하고 싶습니다.
다음 자식 명령 ... 원격 변경 사항을 되돌릴 수
//reset your local index to the desired sha
git reset --hard sha
//move the branch pointer back to the HEAD immediately preceding the HEAD at the desired SHA
//The 'soft' means that the changes made between the HEAD-1 and HEAD at the desired SHA are left in place and are visible as 'new' changes
git reset --soft [email protected]{1}
git commit -m "Revert to sha"
git-tfs checkintool (or whatever syntax you use for pushing to the remote)