0
역사상 이전 버전으로 돌아가서 편집을 시작하려는 경우 git에서해야 할 일은 무엇입니까? (즉, 초기 버전을 최전방으로 만들고 커밋/푸시 시작)? git reset --hard HEAD~1
을 실행하면 이전 버전으로 되돌릴 수 있지만 원하는 버전을 찾으면 무엇을해야합니까? 내가이 위치에서 git push
을하려고하면, 그것은 나에게git의 이전 버전을 최신 버전으로 만드시겠습니까?
error: failed to push some refs to 'https://github.com/thinkpad20/router.git'
To prevent you from losing history, non-fast-forward updates were rejected
Merge the remote changes (e.g. 'git pull') before pushing again. See the
'Note about fast-forwards' section of 'git push --help' for details.
을 알려줍니다하지만 원격 변화를 가져 싶지 않아 - 내가 지금 가지고있는 버전하지만 아무것도 원하지 않는다.