Notes The biggest drawback of centralized workflow is to allow everyone to push to an “official” repo. It means that for anyone to contribute content, they ne...
在本地修改了提交历史,再强制push到上游hou,其他开发者应该如何拉取代码 The whole story Let’s pretend Mary and I are collaborating by Git. Firstly, in my office...
 # How to Undo the Last Commit In this post I will show how I somet...
如何在 Git Status 中显示中文文件名 When I created some file which contains Chinese Character and wanted to show which files were untracked using git status, s...
In order to contribute a open source project autojump, I clone it into my daily repo. When I staged it, the adding embedded git repository warning appears: gi...
Sometimes we need to edit the author information (author name & email) in commit message. Firstly, change the user config in the local repo unless you rea...
SUMMARY OF LESS COMMANDS Commands marked with * may be preceded by a number, N. Notes in parentheses indicate the behavior if N is given. A key preceded by a...
Git series 1/3: Understanding git for real by exploring the .git directory Summary Not just git commit/push .git folder contains all the information Git needs...
How to Undo the Last Commit Summary To go to some specific version: git checkout <commitID> To revert the unwanted commit: git revert <bad commitID&g...
Basic concepts Multi-user development need a Central Repo.Create a bare repo as the central repo: git init --bare central-repo.git. --bare means that we don’t...
Basic Concepts 不是当前 repo 的 都是 remote repo,既可以在网络上,又可以在同一台电脑上。 remote branches 跟 local branches 相似,不过他们是另外一个 repo 的 br...
How to To fix premature commits that often occur during normal development? 有时,开发粗心,漏写一些不是很重要的东东(比如typo),如果再因此增加一个commit,既...
我从15年开始搭建个人网站,前后改过三个大的版本: 第一版:基于PHP开源程序Wordpress搭建,在wordpress的基础上进行定制 第二版:基于PHP开源框架Laravel搭建,以MVC的...
社交账号:
我要举报该,理由是: