https://www.atlassian.com/git/tutorials/undoing-changes
git log (--oneline)
you can view all commits across all branches by executing
$git log --branches=*
to view specific branch's commits
$git log <branch_name>
UNDOING A COMMITED SNAPSHOT
being in a detached HEAD state
$git checkout "commit code"
this makes your working directory match the exact state of the specified commit.
git log (--oneline)
you can view all commits across all branches by executing
$git log --branches=*
to view specific branch's commits
$git log <branch_name>
UNDOING A COMMITED SNAPSHOT
being in a detached HEAD state
$git checkout "commit code"
this makes your working directory match the exact state of the specified commit.
댓글
댓글 쓰기