使用者工具

網站工具


computer:program:git

差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

兩邊的前次修訂版前次修改
下次修改
前次修改
computer:program:git [2024/11/07 03:01] – [工具] wmcomputer:program:git [2026/03/03 17:15] (目前版本) – [Tip] wm
行 27: 行 27:
 ====Hooks==== ====Hooks====
   * [[http://githooks.com/|Git hooks]]   * [[http://githooks.com/|Git hooks]]
 +  * [[https://lefthook.dev/|Lefthook]]
   * [[http://codeutopia.net/blog/2011/06/30/how-to-automatically-run-unit-tests-from-a-git-push/|How to automatically run unit tests from a git push]]   * [[http://codeutopia.net/blog/2011/06/30/how-to-automatically-run-unit-tests-from-a-git-push/|How to automatically run unit tests from a git push]]
   * [[http://viget.com/extend/grunt-getting-started-with-git-hooks|Grunt: Getting Started with Git Hooks]]   * [[http://viget.com/extend/grunt-getting-started-with-git-hooks|Grunt: Getting Started with Git Hooks]]
行 99: 行 100:
 echo .DS_Store >> ~/.gitignore echo .DS_Store >> ~/.gitignore
 </code> </code>
 +  * [[https://adamj.eu/tech/2023/09/18/git-dont-create-gitkeep/|Git: Don’t create .gitkeep files, use .gitignore instead]]
 +    * <code>git add -f build/.gitignore</code>
   * [[https://github.com/behdad/git.mk|git.mk]]   * [[https://github.com/behdad/git.mk|git.mk]]
   * [[http://www.gitignore.io/|gitignore.io]]   * [[http://www.gitignore.io/|gitignore.io]]
行 213: 行 216:
   * [[http://jonas.nitro.dk/tig/|Tig]]   * [[http://jonas.nitro.dk/tig/|Tig]]
     * [[http://blogs.atlassian.com/2013/05/git-tig/|git? tig!]]     * [[http://blogs.atlassian.com/2013/05/git-tig/|git? tig!]]
 +    * .tigrc <code>bind main R !git rebase -i --autosquash %(commit)</code>
   * [[https://github.com/extrawurst/gitui|gitui]]   * [[https://github.com/extrawurst/gitui|gitui]]
   * [[https://github.com/jesseduffield/lazygit|lazygit]]   * [[https://github.com/jesseduffield/lazygit|lazygit]]
   * [[https://github.com/dandavison/delta|delta]] (Pager)   * [[https://github.com/dandavison/delta|delta]] (Pager)
 +  * [[https://github.com/remorses/critique|critique]] (diff)
 ===GUI=== ===GUI===
   * [[https://desktop.github.com/|GitHub Desktop]]   * [[https://desktop.github.com/|GitHub Desktop]]
computer/program/git.1730948474.txt.gz · 上一次變更: 2024/11/07 03:01 由 wm