jack-zheng / hexo-comments

New repo to store hexo blog comments.
0 stars 0 forks source link

Git 小贴士 | Jackpot #23

Open jack-zheng opened 4 years ago

jack-zheng commented 4 years ago

https://jack-zheng.github.io/hexo/2019/11/15/Git-Tips/

怎么添加 commited file 到 .gitignore 中 StackOverflow: applying-gitignore-to-committed-files 1git rm --cached path/to/file 怎么把local master branch 还原成和 remote 端一致 StackOverflow: reset-local-repository-bran