[git] Remove last commit from remote repository Posted by Computer Newbie on 清晨6:31 in git / No comments git reset HEAD^ # remove commit locally git push origin +HEAD # force-push the new HEAD commitReference: 1.Remove last commit from remote git repository [duplicate] Share This: Facebook Twitter Google+ Stumble Digg 以電子郵件傳送這篇文章BlogThis!分享至 X分享至 Facebook Related Posts:[git] git server [git] git servergit clone ssh://gogo@gogo.biz:2222/home/happy/git/… Read More[Git] git commit / git push on local machine[Git] git commit / git push on local machineCreate a folder was call git_server which under /home/xxx/test Go to git_server, then type git --bare init… Read More[git] Remove last commit from remote repositorygit reset HEAD^ # remove commit locally git push origin +HEAD # force-push the new HEAD commitReference: 1.Remove last commit from remote git reposito… Read More[Git] Git Command [Git] Git Command … Read More[Git] Download program for windowsDownloading Git ToolAfter download, install git tool.Open program to show consoleType git clone XXXXXX will downlaod repository from internet.… Read More
0 意見:
張貼留言