Front: Git itself with the diff tool is not good, generally consider replacing the Git diff tool with KDIFF3. GITK is accompanied by git installation, but not normal use, missing gitk since the wish package.
Operation: 1, installation qt4.7
http://download.qt.io/archive/qt/4.7/qt-everywhere-opensource-src-4.7.3.tar.gz "Download QT package, pay attention to watch, do not download win or Mac version of:"./con
There's no gitk in your OSX. Bottom line: Your git version is too low, and GITK is installed with Git.
Workaround: Just re-use brew to install Git.
First look at the git version:
andy@andymacbookpro:~$ git--version
git version 1.9.5 (Apple Git-50.3)
You can use brew to reinstall GIT:
First Upgrade Brew:
Brew Update
Then install git:
andy@andymacbookpro:/usr/local/webdata/chrome_ext/fanlihelper$ Brew Instal
best choice; sometimes you really need a visual presentation, and some users are more accustomed to the clickable interface.One thing to note is that different interfaces are designed for different workflow processes. Some client authors have chosen to support a workflow that he thinks is efficient, showing only a subset of the Git functionality. Each tool has its specific purpose and meaning, and from this point of view, it cannot be said that a tool is "better" than the other. Also please not
master//switch to local master
$ gitmerge fix_usb_bug//merge the changes of the Fix_usb_bug branch into the master branch, and the result is that the change of the Fix_usb_bug branch is fused into master
$ gitpush Origin head:refs/for/master//upload change to server awaiting review, submit Master Branch
Sometimes graphical tools are more likely to show changes in historical submissions, and GITK, which is released with Git, is one such tool. It's wr
(1) create a project directoryMkdir app(2) initialize the projectCD appGit init(3) Modify descriptionCD. GitVI description(4) filter file types that do not need to be managed, including each specific fileCD infoSudo VI exclude(5) add all the files to be managed to the GIT LibraryReturn to the. Git directory.Git add -- all(6) Local submissionGit commit(7) create and develop BranchGit branch yin_ui_changeView Current branchesGit branch-The execution result is as follows:* MasterYin_ui_change* Indi
carefully select and only display a subset of Git functions. Each tool has a specific purpose and significance. From this perspective, it cannot be said that a tool is "better" than other tools ". Note that there is nothing the GUI client can do but the command line client cannot do. The command line is always where you can fully control the warehouse concurrency and exert all the power.Gitk and git-guiYou have installed the visualization tools gitk
The introduction of git is not much said. Here is just a simple entry-level operation.
This section focuses on operations related to viewing and controlling historical versions.Everything is simple, not reasonable, but simple operations.Original article, if reproduced, please indicate the source: http://blog.csdn.net/yihui823/article/details/6681214
With Copper as the mirror, you can wear the crown;
Taking history as the mirror, you can know xingti;
With human eyes, you can understand the gains
, you can submit index/all files/the current file.
You are required to enter comments when submitting the application, for example:
After entering the note:
C-c
Submit
C-c-Q
Cancel
5 Version history
Run the M-x Git-history command to view the version history of the entire project. Run the M-x Git-log command to view the version history of the currently marked file. Both commands open a new buffer:
If you like
://ppa.launchpad.net/git-core/ppa/ubuntu/precise/main gitk All 1:1.8.5.2-1~ppa0~precise1 [673 KB]Get:10 http://ppa.launchpad.net/git-core/ppa/ubuntu/precise/main Git-man All 1:1.8.5.2-1~ppa0~precise1 [1,225 KB]Get:11 http://ppa.launchpad.net/git-core/ppa/ubuntu/precise/main gitweb All 1:1.8.5.2-1~ppa0~precise1 [546 KB]Fetched 15.7 MB in 4min 52s (53.7 kb/s)(Reading database ...) 566732 files and directories currently installed.)Preparing to replace Gi
). Indicates that the delivery of the merge is equal to having more than one parent delivered, and each parent delivers the most close delivery that each development line develops here.
The best way to-to-to-you-GITK (1) command; Running GITK now on a git repository and looking for merge commits'll help understand how the GIT organizes history.
The best way to view this mechanism is to use the
ArticleDirectory
Three States of a file
View help
Create a git Repository
Submit update
Delete an object
View submission history
Graphical log interface gitk
Cancel operation
Use of remote version Library
Http://omiga.org/blog/archives/1896 What is git?
Git is a distributed version control system (DVCs ). What is the relationship between git and SVN?
Most people may be more familiar with SVN. SVN is a centrali
.
Are you sure the Qtcreator is installed correctly? Please look here.
Now start installing the relevant components: git first. Ctrl+alt+t Open the terminal, enter Sudoapt-get install git, return, install Git.
To make it easy to use git, you must also install GITK, the graphics side of this git. Command: Sudoapt-get install GITK.
Then there is the need for team development openssh. Because we want to commun
One. Package Manager mode installationIt is easiest to install git with the Linux distribution Package Manager, and it will automatically configure the command completion function. However, the installed git may not be the latest version.
Ubuntu 10.10 or newer version , Debian (squeeze) or newer version:
sudo aptitude install gitsudo aptitude Install Git-doc git-svn git-email Git-gui gitkUbuntu 10.04 (lucid) or older version, Debian (Lenny) or older version:sudo aptitude install
example, 'git format-patch master -- stdout> ~ /Desktop/tmp. patch 'is the difference between the work Branch and the master, which is stored in '~ In the/Desktop 'folder, generate a file named tmp. patch (another simple version is to use the diff command, such as 'git diff.. master> ~ /Desktop/tmp. patch ') to generate the patch file. Then someone else can use the 'git apply 'command to apply the patch, for example, 'git apply ~ /Desktop/tmp. patch: load the patch to the current work branch.
G
-tree --reset -u: remove un51a94af - Fix "checkout --track -b newbranch" on detacb0ad11e - pull: allow "git pull origin $something:$curThe Git project has more than 20,000 commits, but when we give the search option, only 6 of the items that meet the criteria are listed.Use the graphical tools to review your commit historySometimes graphical tools are more likely to show changes in historical submissions, and GITK, which is released with Git, is one s
Chapter III Getting started with GitOpen Source: Open source is also known as opensource, its role is to describe the source code can be used by the public software, and the use of the software, modification and distribution is not limited by the license.Source code: Also known as the source program is not compiled according to a certain programming language specification written text file, is a readable computer language instruction. The main purpose of the source code: to generate the target
capabilities. InstallationGit:1)Ubuntu linux10.10or an updated version can be installed using the following commandGit:apt-get Install git;apt-get install git-doc git-svn git-email Git-gui gitk;2)Ubuntu 10.04or a lower version, you can use the following command: Apt-get Install git-core;apt-get install git-doc git-svn git-email Git-gui gitk;3)RHEL,Fedora,CentOSusers can install by using the following comma
tools.Official website: https://sites.google.com/site/gitforcetool/home9.EgitEgit is a git plugin for the Eclipse IDE and is an Eclipse team provider for git. The project is designed to implement the Eclipse tool based on Git's jqit Java implementation. Eqit contains features such as repository browser, new file, submit window and history view.Official website: http://www.eclipse.org/egit/Ten. GiteyeGiteye is a simple and intuitive GUI client for git that integrates easily with planning, tracki
is a simple, intuitive GUI client software that can be easily integrated with planning, tracking, code review, and build tools (such as TeamForge, Gitgub, Jira, Bugzilla, and more) for Git. It is flexible and has powerful visual and historical management capabilities.
Homepage Link: Http://www.collab.net/products/giteye 11. GITK (Broad interface Toolkit)
GITK is a multi-tier GUI front-end program for Git,
unstage fileA$ git reset HEAD--FileAThis looks a little clearer. A last command is also usually added, like this:$ git config--global alias.last ' log-1 HEAD 'This makes it easy to see the last commit:$ git LastCommit 66938dae3329c7aebe598c2246a8e6af90d04646Author:josh Goebel Date:tue 26 19:48:51 2008 +0800Test for current headSigned-off-by:scott Chacon As you can see, Git simply replaces the alias with the corresponding command. However, you might want to execute an external command instead of
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.