Git - the fast version control system

Git Community Book : The git-scm.com community-built comprehensive online book

Tutorials

Short and Sweet

The official Git tutorial is a good place to get started.

Everyday Git in 20 commands is good for a useful minimum set of commands.

The SVN Crash Course might be helpful if you're coming from the SVN world.

Git for the lazy is a great guide for beginners.

Longer, More In Depth

Git for Designers – No knowledge of version control? No problem.

Git for Computer Scientists – A quick introduction to git internals for people who are not scared by words like Directed Acyclic Graph.

The Git User's Manual is a comprehensive resource, covering a lot of Git functionality.

Git Magic – An alternative online book with the source online.

The GitHub Guides – Guides on a variety of Git and GitHub related topics

Reference

The official and comprehensive reference manual comes as part of the Git package itself

Visual Git Cheat Sheet – Everyone loves to cheat

37signals’ Git Resources – Useful lightweight reference to keep handy

Books


Git Internals PDF
by Scott Chacon

Version Control with Git
by Jon Loeliger

Pro Git
by Scott Chacon
Creative Commons Licensed

Videos


Linus Torvalds visits Google to share his thoughts on git, the source control management system he created two years ago.

A one-hour talk by Randal Schwartz describing what Git is, and why it should be used over other revision control systems.

Git Tutorial Talk – A recording of an excellent Git tutorial given by Bart Trojanowski for the Ottawa Group of Ruby Enthusiasts.

GitCasts – Short and sweet screencasts on a variety of Git topics

Commands

Here is a list of the most common commands you're likely to use on a day-to-day basis.

Local Commands

git config Get and set repository or global options
git init Create an empty git repository or reinitialize an existing one
git add Add file contents to the index
git status Show the working tree status
git commit Record changes to the repository
git log Show commit history
git show Show information on any object
git tag Create, list, delete or verify tags

Remotey Commands

git clone Clone a repository into a new directory
git remote Manage set of tracked repositories
git pull Fetch from and merge with another repository or a local branch
git fetch Download objects and refs from another repository
git push Update remote refs along with associated objects

Branchy Commands

git checkout Checkout a branch or paths to the working tree
git branch List, create, or delete branches
git merge Join two or more development histories together
git rebase Forward-port local commits to the updated upstream head

Patchy Commands

git diff Show changes between commits, commit and working tree, etc
git apply Apply a patch on a git index file and a working tree
git format-patch Prepare patches for e-mail submission
git am Apply a series of patches from a mailbox
You can find links to more documentation at the
Git Documentation wiki page.



hosting donated by: github logo
::...
免责声明:
当前网页内容, 由 大妈 ZoomQuiet 使用工具: ScrapBook :: Firefox Extension 人工从互联网中收集并分享;
内容版权归原作者所有;
本人对内容的有效性/合法性不承担任何强制性责任.
若有不妥, 欢迎评注提醒:

或是邮件反馈可也:
askdama[AT]googlegroups.com


订阅 substack 体验古早写作:


点击注册~> 获得 100$ 体验券: DigitalOcean Referral Badge

关注公众号, 持续获得相关各种嗯哼:
zoomquiet


自怼圈/年度番新

DU22.4
关于 ~ DebugUself with DAMA ;-)
粤ICP备18025058号-1
公安备案号: 44049002000656 ...::