跳至內容
WMの写本
使用者工具
登入
網站工具
搜尋
工具
顯示頁面
舊版
反向連結
最近更新
多媒體管理器
網站地圖
登入
>
最近更新
多媒體管理器
網站地圖
您在這裏:
start
»
computer
»
program
»
git
足跡:
•
chrome
•
httpd
•
npm
•
wordpress
•
css
•
component
•
bootstrap
computer:program:git
本頁是唯讀的,您可以看到原始碼,但不能更動它。您如果覺得它不應被鎖上,請詢問管理員。
======Git====== * [[http://zh-tw.whygitisbetterthanx.com/|Why Git is Better than X]] * [[http://stevelosh.com/blog/2013/04/git-koans/|Git Koans]] * [[http://gitref.org/|Git Reference]] * [[http://think-like-a-git.net/|Think Like (a) Git]] * [[http://www-cs-students.stanford.edu/~blynn/gitmagic/|Git Magic]] * [[http://marklodato.github.com/visual-git-guide/|A Visual Git Reference]] * [[http://rogerdudler.github.com/git-guide/|git - the simple guide]] * [[http://ndpsoftware.com/git-cheatsheet.html|Git Cheatsheet]] * [[http://martinadams.tumblr.com/post/37209901794/git-cheat-sheet|Git Cheat Sheet]] * [[http://ihower.tw/blog/archives/6696/|Git 教育訓練課程投影片 (2012)]] * [[http://chris.beams.io/posts/git-commit/|How to Write a Git Commit Message]] * [[https://blog.louie.lu/2017/03/21/%E5%A6%82%E4%BD%95%E5%AF%AB%E4%B8%80%E5%80%8B-git-commit-message/|如何寫一個 Git Commit Message]] * [[https://robots.thoughtbot.com/5-useful-tips-for-a-better-commit-message|5 Useful Tips For A Better Commit Message]] * [[http://gitexplorer.com|Git Command Explorer]] ====Commit==== * [[https://gitmoji.dev/|gitmoji]] * [[https://www.conventionalcommits.org/|Conventional Commits]] * [[https://apps.gnome.org/app/re.sonny.Commit/|Commit]] (message editor) ====Branch==== * <code>git branch --sort=committerdate</code> ASC * <code>git branch --sort=-committerdate</code> DESC ====Rebase==== * <code>git rebase -i --root</code> * <code>git rebase COMMIT --exec 'git commit --amend --reset-author --no-edit'</code> * [[https://github.com/MitMaro/git-interactive-rebase-tool|Git Interactive Rebase Tool]] ====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://viget.com/extend/grunt-getting-started-with-git-hooks|Grunt: Getting Started with Git Hooks]] * <code>git config --global core.hooksPath ~/.git/hooks</code> * [[https://petecoop.co.uk/blog/git-2-3-push-deploy|Simple Git Push Deploy with Git 2.3]] ===pre-commit=== * [[http://codeinthehole.com/writing/tips-for-using-a-git-pre-commit-hook/|Tips for using a git pre-commit hook]] * [[http://danilodellaquila.com/blog/use-git-stash-in-your-pre-commit-hook|Use git stash in your pre-commit hook]] ==== Worktree ==== * [[https://ihower.tw/blog/archives/8740|Git worktree: 同時開多個工作目錄]] * [[https://compiledsuccessfully.dev/git-skip-worktree/|Git update-index --skip-worktree, and how I used to hate config files]] ==== Notes ==== * [[https://tylercipriani.com/blog/2022/11/19/git-notes-gits-coolest-most-unloved-feature/|Git Notes: git's coolest, most unloved feature]] ====Tip==== * [[https://dangitgit.com/|Dangit, Git!?!]] * [[http://whileimautomaton.net/2011/10/26220809|Git Undo 999 - How do I undo this operation?]] * [[http://stackoverflow.com/questions/5473/undoing-a-git-reset-hard-head1|Undoing a git reset --hard HEAD~1]] * [[http://blog.wu-boy.com/2011/09/introduction-to-git-submodule/|Git Submodule 介紹與使用]] * [[http://stackoverflow.com/questions/160608/how-to-do-a-git-export-like-svn-export|How to do a “git export” (like “svn export”)]] * [[http://feeding.cloud.geek.nz/posts/excluding-files-from-git-archive/|Excluding files from git archive exports using gitattributes]] * [[http://stackoverflow.com/questions/572549/difference-of-git-add-a-and-git-add|Difference of “git add -A” and “git add .”]] * [[http://thinkvitamin.com/code/starting-with-git-cheat-sheet/|Starting with Git: Cheat Sheet]] * [[http://blog.longwin.com.tw/2009/05/git-learn-initial-command-2009/|Git 初學筆記 - 指令操作教學]] * [[http://davidwalsh.name/git-commands|Useful Git Commands]] * [[https://github.com/github/gitignore|A Collection of Useful .gitignore Templates]] * [[https://github.com/diaspora/diaspora/wiki/Git-Workflow|Git Workflow]] * [[https://help.github.com/articles/changing-author-info|Changing author info]] * [[http://www.plurk.com/p/g9twh3|git repack && git prune-packed]] * [[http://areyoufuckingcoding.me/2012/09/28/paranoid-git-workflow/|Paranoid Git workflow]] * [[http://blogs.atlassian.com/2014/05/handle-big-repositories-git/|How to handle big repositories with git]] * [[http://www.manuel-strehl.de/dev/minimal_git_folder|Minimal contents of a .git folder]] * [[https://github.com/blog/2019-how-to-undo-almost-anything-with-git|How to undo (almost) anything with Git]] * [[http://ohshitgit.com/|Oh shit, git!]] ===Log=== * [[http://blog.gslin.org/archives/2014/04/22/4551/%E7%94%A8-git-log-%E7%9A%84-s-%E8%88%87-g-%E6%89%BE%E8%AE%8A%E6%9B%B4%E8%A8%98%E9%8C%84/|用 git log 的 -S 與 -G 找變更記錄]] ===Reset=== * <code>git reset origin/master --hard</code> ===Rebase=== * [[http://blog.yorkxin.org/posts/2011/07/29/git-rebase|Git-rebase 小筆記]] * [[https://gist.github.com/1558175|drawback about rebase]] * [[http://repeat.tw/blog/post/26167346-git-rebase-%E5%92%8C-git-merge-%E7%9A%84%E4%B8%80%E4%BA%9B%E7%AD%86%E8%A8%98|git rebase 和 git merge 的一些筆記]] * [[http://emmanuelbernard.com/blog/2014/04/14/split-a-commit-in-two-with-git/|Split a commit in two with Git]] * <code>git rebase -s recursive -X <ours/theirs> master</code> * <code>git rebase --onto newbase upstream branch</code> ===Stash=== * Show diff in git stash<code>git stash show -u</code> * [[https://cscheng.info/2017/01/26/git-tip-autostash-with-git-pull-rebase.html|Git tip: autostash with git pull --rebase]] ===Branch=== * Quick Switch Between Git Branches<code>git checkout -</code> * <code>git merge branch --no-commit --no-ff</code> * [[http://blog.wu-boy.com/2011/03/git-%E7%89%88%E6%9C%AC%E6%8E%A7%E5%88%B6-branch-model-%E5%88%86%E6%94%AF%E6%A8%A1%E7%B5%84%E5%9F%BA%E6%9C%AC%E4%BB%8B%E7%B4%B9/|Git 版本控制 branch model 分支模組基本介紹]] * [[http://nvie.com/posts/a-successful-git-branching-model/|A successful Git branching model]] ===Filter Branch=== * [[http://pjack1981.blogspot.tw/2012/10/git-filter-branch.html|Git filter-branch 的使用]] * [[http://stackoverflow.com/questions/359424/detach-subdirectory-into-separate-git-repository|Detach subdirectory into separate Git repository]] * <code>git filter-branch --index-filter "git rm -r -f --cached --ignore-unmatch TARGET" --prune-empty HEAD</code> 也可加上 -q 抑制輸出,-f 強制把暫存區的備份清掉 ===Patch=== * <code>git format-patch --no-prefix HEAD^</code> ===Diff=== * [[http://www.sitepoint.com/understanding-version-control-diffs/|Understanding Version Control with Diffs]] * [[https://scripter.co/git-diff-minified-js-and-css/|Git diff Minified JS and CSS]] * [[https://blog.darkthread.net/blog/git-diff-from-zero/|Git 小技巧 - 產生從零開始的 git diff 報告]] ===Blame=== * [[http://jfire.io/blog/2012/03/07/code-archaeology-with-git/|Code Archaeology With Git]] * <code>git blame --ignore-revs-file</code> ===Subtree=== * [[http://blogs.atlassian.com/2013/05/alternatives-to-git-submodule-git-subtree/|Alternatives To Git Submodule: Git Subtree]] * <code>git subtree push --prefix dist origin gh-pages</code> ===Ignore=== <code bash> git config --global core.excludesfile ~/.gitignore echo .DS_Store >> ~/.gitignore </code> * [[https://github.com/behdad/git.mk|git.mk]] * [[http://www.gitignore.io/|gitignore.io]] ===Alias=== * [[http://caiustheory.com/git-git-git-git-git/|git git git git git]] ====Command==== * <code>git commit --amend –C @</code> * <code>git checkout -- .</code> * <code>git rm --cached</code> * <code>git reflog</code> * <code>git shortlog</code> * <code>git fsck --no-reflogs</code> * <code>git update-index --assume-unchanged</code> * <code>git ls-files -o --directory --exclude-standard</code> <code> git config --global user.name "Firstname Lastname" git config --global user.email "your_email@youremail.com" </code> <code> git config --global color.diff auto git config --global color.status auto git config --global color.branch auto git config --global color.log auto </code> <code> git config --global color.ui true </code> <code> git config --global core.editor micro </code> <code> git config --global alias.timeline "log --oneline --graph --decorate" git timeline </code> =====資源===== * [[http://gitfaq.org/|GIT FAQ]] * [[http://justinhileman.info/article/git-pretty/|Git pretty]] ====Github==== * [[https://myoctocat.com/|Build your own octocat]] * [[http://guides.github.com/|GitHub Guides]] * [[https://github.com/buunguyen/octotree|Octotree]] * [[http://scottchacon.com/2011/08/31/github-flow.html|GitHub Flow]] * [[http://net.tutsplus.com/tutorials/tools-and-tips/how-to-work-with-github-and-multiple-accounts/|How to Work with GitHub and Multiple Accounts]] ===Pull Request=== * [[https://coderwall.com/p/z5rkga/github-checkout-a-pull-request-as-a-branch|GitHub: checkout a pull request as a branch]] * [[https://gist.github.com/piscisaureus/3342247|Checkout github pull requests locally]] * [[https://gist.github.com/timdream/5968469|Github 發 Pull Request & 貢獻流程速查]] ===Tool=== * [[https://github.com/jeresig/pulley|Pulley]] * [[https://github.com/ingydotnet/git-hub|git-hub]] * [[http://www.gistboxapp.com/|GistBox]] * [[http://git.io/|Git.io]] * [[http://www.gistoapp.com/|Gisto]] * [[https://github.com/camme/webhook-deployer|webhook-deployer]] * [[http://osrc.dfm.io/|The Open Source Report Card]] * [[http://danielkummer.github.io/git-flow-cheatsheet/|git-flow cheatsheet]] ===Service=== * [[https://houndci.com/|Hound]] ===Client=== * [[https://gitpoint.co/|GitPoint]] * [[https://octobox.io/|Octobox]] * [[https://hackjutsu.com/Lepton/|Lepton]] (gist) ====書籍==== * [[http://git-scm.com/book|Pro Git]] * [[https://github.com/pluralsight/git-internals-pdf|Git Internals PDF]] * [[http://www.git-tower.com/learn/|Learn Version Control with Git]] * [[http://ihower.tw/git/|Git 版本控制系統]] ====教學==== * [[http://try.github.com/|Try Git]] * [[https://www.atlassian.com/git/|Atlassian Git Tutorial]] * [[http://gitimmersion.com/|Git Immersion]] * [[http://pcottle.github.com/learnGitBranching/|Learn Git Branching]] * [[http://jlord.us/git-it/|Git-it]] * [[https://github.com/jlord/git-it-electron|Desktop Version]] * [[http://rogerdudler.github.io/git-guide/|git - the simple guide]] * [[https://dev.to/lydiahallie/cs-visualized-useful-git-commands-37p1|🌳🚀 CS Visualized: Useful Git Commands]] =====工具===== * [[https://libgit2.github.com/|libgit2]] * [[http://www.nodegit.org/|NodeGit]] * [[https://github.com/visionmedia/git-extras|Git Extras]] * [[https://github.com/paulirish/git-recent|git-recent]] * [[https://github.com/donnemartin/gitsome|gitsome]] * [[https://github.com/Haacked/SeeGit|SeeGit]] * [[http://fishsoup.net/software/git-bz/|git-bz]] * [[http://defunkt.io/hub/|hub]] * [[https://github.com/ryanackley/git-html5.js|git-html5.js]] * [[https://github.com/creationix/tedit-app|Tedit]] * [[http://gitstats.sourceforge.net/|GitStats]] * [[https://github.com/vifactor/repostat|repostat]] * [[https://github.com/IonicaBizau/git-stats|git-stats]] * [[https://github.com/mateodelnorte/meta|meta]] * [[https://github.com/zorgiepoo/Komet|Komet]] * [[https://github.com/Rich-Harris/degit|degit]] * [[https://github.com/jevakallio/git-notify|git-notify]] ===Hosting=== * [[http://gitlabhq.com/|GitLab]] * [[https://pagure.io/pagure|Pagure]] * [[https://gogs.io/|Gogs]] * [[https://gitea.io/|Gitea]] * [[https://forgejo.org/|Forgejo]] * [[http://gitolite.com/|Gitolite]] * [[https://sourcehut.org/|sourcehut]] ===rubygem=== * [[https://github.com/causes/overcommit|Overcommit]] ===npm=== * [[https://github.com/bahmutov/pre-git|pre-git]] * [[https://github.com/Coreh/hookshot|hookshot]] * [[https://github.com/gtramontina/ghooks|ghooks]] ===grunt=== * [[https://github.com/rhumaric/grunt-githooks|grunt-githooks]] * [[https://github.com/jaubourg/grunt-update-submodules|grunt-update-submodules]] ====介面==== ===TUI=== * [[http://jonas.nitro.dk/tig/|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/jesseduffield/lazygit|lazygit]] * [[https://github.com/dandavison/delta|delta]] (Pager) ===GUI=== * [[https://desktop.github.com/|GitHub Desktop]] * [[https://github.com/sonnyp/Commit|Commit]] * [[https://git-fork.com/|Fork]] * [[https://gitextensions.github.io/|Git Extensions]] * [[https://wiki.gnome.org/Apps/Gitg/|gitg]] * [[https://wiki.gnome.org/Apps/giggle|Giggle]] * [[http://git-cola.github.com/|git-cola]] * [[http://gitx.org/|GitX]] * [[https://www.sourcetreeapp.com/|Sourcetree]] * [[http://gitboxapp.com/|Gitbox]] * [[https://github.com/FredrikNoren/ungit|ungit]] * [[http://gitup.co/|GitUp]] * [[http://www.gitkraken.com/|GitKraken]] * [[https://www.sublimemerge.com/|Sublime Merge]]
computer/program/git.txt
· 上一次變更: 2025/06/24 07:36 由
wm
頁面工具
顯示頁面
舊版
反向連結
回到頁頂