
Git
ColorPaper
游侠
展开
-
Gitosis and Gitweb – Part 3 – Gitweb
Gitosis and Gitweb – Part 3 – Gitwebfrom: http://lostechies.com/jasonmeridth/2010/05/27/gitosis-and-gitweb-part-3-gitweb/So we are setup, have a project, and have contributors via the firs转载 2012-05-14 10:41:29 · 805 阅读 · 0 评论 -
The .git Directory
The .git DirectoryIf you haven’t explored the .git directory yet, it’s worth the hike. Do a cd .git in your local git repository that you’ve cloned from a remote repository and you should fi转载 2012-05-13 19:05:44 · 874 阅读 · 0 评论 -
Git And Remote Repositories
Git And Remote RepositoriesCommands discussed in this section:git clonegit pullgit push“Here is The Git URL”For many people, the first time they use git occurs when somebody转载 2012-05-13 17:59:25 · 804 阅读 · 0 评论 -
The Configuration File – “remote” Section
The Configuration File – “remote” SectionCommands used in this section:git clonegit fetchgit mergegit branchGit and Remotes: The Config fileIn previous sections you’ve seen转载 2012-05-13 18:59:30 · 751 阅读 · 0 评论 -
Adding And Removing Remote Branches
Adding And Removing Remote BranchesCommands discussed in this section:git branchgit checkoutgit pushgit remoteCreating Remote BranchesOne way to add a new branch to the rem转载 2012-05-13 18:27:58 · 821 阅读 · 0 评论 -
Creating a Shared Repository; Users Sharing The Repository
源自:http://www.gitguys.com/topics/creating-a-shared-repository-users-sharing-the-repository/Creating a Shared Repository; Users Sharing The RepositoryCommands discussed in this转载 2012-05-13 18:11:33 · 826 阅读 · 0 评论 -
Merging With a GUI
源自:http://www.gitguys.com/topics/merging-with-a-gui/Merging With a GUICommands discussed in this section:git mergetoolMerging With a GUIGit can also work with a转载 2012-05-13 17:54:49 · 774 阅读 · 0 评论 -
Merging With a Conflict: Conflicts And Resolutions
Merging With a Conflict: Conflicts And ResolutionsCommands discussed in this section:git mergegit diffgit statusgit showgit ls-filesMerging Branches With a ConflictWhat c转载 2012-05-13 17:49:10 · 1410 阅读 · 0 评论 -
Merging Branches: Without a Conflict
Merging Branches: Without a ConflictCommands discussed in this section:git mergeWhen To Merge?Examples of when would you might want to merge branches:You start with a repos转载 2012-05-13 17:31:46 · 577 阅读 · 0 评论 -
怎么在windows xp或windows 7中使用kdiff3
Add the KDiff3 directory to your Windows System Path (e.g. C:\Program Files\KDiff3\)Add kdiff3 as your Git mergetool (From Git Bash, run git config --global merge.tool kdiff3)Add kdiff3 complete path转载 2012-05-30 19:56:50 · 1741 阅读 · 0 评论 -
gitweb
'Gitweb' is a Git web interface, the one working on http://www.kernel.org/git/. It is written in Perl and can be used as a CGI script, or as a mod_perl legacy script (run by ModPerl::Registry handle转载 2012-05-14 10:02:56 · 546 阅读 · 0 评论 -
Gitosis and Gitweb – Part 2 – Add Projects and Contributors
Gitosis and Gitweb – Part 2 – Add Projects and Contributorsfrom:http://lostechies.com/jasonmeridth/2010/05/25/gitosis-and-gitweb-part-2-add-projects-and-contributors/So we are setup now th转载 2012-05-14 10:38:23 · 629 阅读 · 0 评论 -
git ignore
NAMEgitignore - Specifies intentionally untracked files to ignoreSYNOPSIS$GIT_DIR/info/exclude, .gitignoreDESCRIPTIONA gitignore file specifies intentionally untracked转载 2012-07-19 20:44:54 · 2392 阅读 · 0 评论 -
A successful Git branching model
from:http://nvie.com/posts/a-successful-git-branching-model/ In this post I present the development model that I’ve introduced for all of my projects (both at work and private) about a year ago, a转载 2012-05-10 22:21:24 · 577 阅读 · 0 评论 -
gitosis的使用
gitosisSetup and use of git repository on FedoraPlease read the full documentation before you try it!Install Gitosis sudo yum install gitosisUpdate ssh pub key转载 2012-06-05 12:35:24 · 1195 阅读 · 0 评论 -
Git Remotes: Fun Commands You Can Use
Git Remotes: Fun Commands You Can UseCommands discussed in this section:git branchgit remotegit ls-remotegit fetchgit pullList remote-tracking branches$ git branch -r origin/HEAD -> o转载 2012-05-15 15:43:56 · 595 阅读 · 0 评论 -
Switching Branches Without Committing
Switching Branches Without CommittingCommands discussed in this section:git checkoutSwitching Branches: Without CommittingTypically you’d want to first switch to the right branch and the转载 2012-05-15 16:40:22 · 637 阅读 · 0 评论 -
The Configuration File – “Branch” Section
The Configuration File – “Branch” SectionCommands used in this section:git clonegit fetchgit mergeThe “branch” Section Of The Config FileLet’s look at the config file for the git client转载 2012-05-15 15:39:33 · 744 阅读 · 0 评论 -
Gitosis and Gitweb – Part 1 – Setup
Gitosis and Gitweb – Part 1 – Setupfrom:http://lostechies.com/jasonmeridth/2010/05/25/gitosis-and-gitweb-part-1-setup/I’ve had a number of people ask me where they should host their转载 2012-05-14 10:30:13 · 719 阅读 · 0 评论 -
“Tracking Branches” And “Remote-Tracking Branches”
“Tracking Branches” And “Remote-Tracking Branches”Commands used in this section:git addgit commitgit clonegit pushgit fetchgit mergegit pullLet’s Talk TrackingWhen us转载 2012-05-13 18:42:05 · 1525 阅读 · 0 评论 -
Shared Repositories Should Be Bare Repositories
Shared Repositories Should Be Bare RepositoriesCommands discussed in this section:git init –bareShared Repositories Should Be Bare RepositoresWhen creating a central repository t转载 2012-05-13 18:17:38 · 738 阅读 · 0 评论 -
KDiff3
KDiff3 is a program thatcompares or merges two or three text input files or directories,shows the differences line by line and character by character (!),provides an automatic merge-facility andan转载 2012-05-30 19:55:38 · 1597 阅读 · 0 评论 -
HEAD: Where Are We? Where Were We?
源自:http://www.gitguys.com/topics/head-where-are-we-where-were-we/HEAD: Are We? Where Were We?This page starts with the example git repository we created in Commits and referring to comm转载 2012-05-11 15:08:55 · 862 阅读 · 0 评论 -
Why Use Git Instead of a Legacy Version Control System
from:http://www.gitguys.com/topics/why-use-git-instead-of-a-legacy-version-control-system/Why Use Git Instead of a Legacy Version Control System?Better history, less fearWith a转载 2012-05-11 14:51:44 · 577 阅读 · 0 评论 -
Creating And Playing With Branches
from: http://www.gitguys.com/topics/creating-and-playing-with-branches/Creating And Playing With BranchesCommands discussed in this section:git branchgit checkoutThe Br转载 2012-05-11 16:00:22 · 574 阅读 · 0 评论 -
The Git Object Model: Starting With The "Blob"
from: http://www.gitguys.com/topics/the-git-object-model-starting-with-the-blob/The design and use of the git database is vastly different than the other Version Control Systems, which results in转载 2012-05-11 09:37:22 · 689 阅读 · 0 评论 -
如何创建用git管理的项目
用ssh从本地登陆到远程服务器$ ssh userName@远程主机ip #例如:$ ssh lisi@10.15.120.15#输入密码登陆到远程服务器后,执行下列操作创建用git管理的项目MyProject$ cd repository/原创 2011-10-12 20:04:15 · 864 阅读 · 0 评论 -
Submodules
Large projects are often composed of smaller, self-contained modules. For example, an embedded Linux distribution's source tree would includ转载 2011-09-26 18:59:20 · 953 阅读 · 0 评论 -
用git部署php站点
假定你需要部署的代码在/var/www/yoursitecd /var/www/yoursitegit init --sharedgit config receive.denyCurrentBranch ignorecd .git/hookswget http://u转载 2011-09-15 10:41:28 · 696 阅读 · 0 评论 -
gittutorial - A tutorial introduction to git (for version 1.5.1 or newer)
NAMEgittutorial - A tutorial introduction to git (for version 1.5.1 or newer)SYNOPSISgit *DESCRIPTIONThis转载 2011-08-11 08:36:03 · 585 阅读 · 0 评论 -
让某些文件不受版本控制管理
让某些文件不受版本控制管理一般我们总会有些文件无需纳入 Git 的管理,也不希望它们总出现在未跟踪文件列表。通常都是些自动生成的文件,像是日志或者编译过程中创建的等等。我们可以创建一个名为.gitignore 的文件,列出要忽略的文件模式,来看一个简单的例子:转载 2011-09-08 21:41:04 · 1101 阅读 · 0 评论 -
Permission denied (publickey).
问题:$ git clone 50.10.155.65:/var/www/wallpaperCloning into wallpaper...Permission denied (publickey).fatal: The remote end hung up u原创 2011-09-08 18:40:31 · 1102 阅读 · 0 评论 -
ec2 git Permission denied (publickey)
I am trying to follow this instruction. I have a local git repo and when I do a git push, I need the repo to be pushed to my EC2 instance.转载 2011-08-08 10:22:11 · 1452 阅读 · 0 评论 -
What’s The Deal With The Git Index?
源自:http://www.gitguys.com/topics/whats-the-deal-with-the-git-index/What’s The Deal With The Git Index?Commands discussed in this section:git addgit commitgit ls-filesgit st转载 2012-05-11 09:15:28 · 650 阅读 · 0 评论 -
All Git Object Types: Blob, Tree, Commit And Tag
All Git Object Types: Blob, Tree, Commit And TagThe complete list of git object types is here:blobtreecommittagGit blob objectThe git “blob” type is just a bunch of bytes转载 2012-05-11 09:44:32 · 902 阅读 · 0 评论 -
Git Object: Commit
from:http://www.gitguys.com/topics/git-object-commit/Git Object: CommitWhen a git commit is done (to “check in” the updates to the repository), git creates a new commit object, w转载 2012-05-11 09:53:41 · 1103 阅读 · 0 评论 -
What is the format of a git “blob”?
from: http://www.gitguys.com/topics/what-is-the-format-of-a-git-blob/What is the format of a git “blob”?转载 2012-05-11 14:22:42 · 509 阅读 · 0 评论 -
Git Object: Tree
A git tree object is very similar to a filesystem directory.Filesystem directories refer to other directories and files, while git trees refer to other git trees and git blobs:Filesystem转载 2012-05-11 09:24:49 · 498 阅读 · 0 评论 -
GIT分支管理是一门艺术
英文原文:http://www.nvie.com/posts/a-successful-git-branching-model/ 原文作者:Vincent Driessen 本文经Linux大棚博主总结精简而成。 1 GIT,在技术层面上,绝对是一个无中心的分布式版本控制系统,但在管理层面上,我建议你保持一个中心版本库。 2 我建转载 2012-05-10 22:14:48 · 1523 阅读 · 0 评论 -
http://www.gitguys.com/topics/branches-visualizing/
源自:http://www.gitguys.com/topics/branches-visualizing/Visualizing Branches And Their CommitsCommands discussed in this section:git show-branchgitg, gitk and qgitOur Example转载 2012-05-11 16:07:04 · 797 阅读 · 0 评论