[git] undo commit Posted by Computer Newbie on 晚上11:20 in git / No comments Add follow script into .gitconfig [alias] undo-commit = reset --soft HEAD^ When you want to undo the git command. Just type git undo-commit will undo the commit. Reference: How to undo last commit(s) in Git? Share This: Facebook Twitter Google+ Stumble Digg 以電子郵件傳送這篇文章BlogThis!分享至 X分享至 Facebook
0 意見:
張貼留言