Download Red Hat Developer Toolset 2.x User Guide

Transcript
Changes in Version 2.1
T he git commit Command
T he git com m it command now accepts arguments in the form of relative paths that point outside
of the current directory.
Aborting interactive mode (initialized by the --interactive command line option) now discards all
changes that were made in it.
It is now possible to set the com m it.cleanup configuration variable to whitespace, which is
equivalent to running the git com m it command with the --cleanup=whitespace command line
option. For a description of all available cleanup modes, see git-com m it(1).
T he following new command line options have been added to the git com m it command:
--fixup=commit
Prefix the commit line with “fixup! ”. T his option is used when running the git rebase -autosquash command.
--gpg-sign[=keyid] (or -S[keyid]
Sign the commit using the specified GPG key.
--no-edit
Do not launch an editor for the commit message. When used with the --am end command
line option, it only updates the commit tree, not the commit message.
--patch (or -p)
Select patch hunks for committing using the interactive interface. Refer to git-add(1) for
more information about the interactive mode.
--squash=commit
Prefix the commit line with “squash! ”. T his option is used when running the git rebase -autosquash command.
T he git count-objects Command
T he verbose output, invoked by passing the --verbose (or -v) command line option to the
git count-objects command, now reports on various garbage in the .git directory. Refer to
git-count-objects(1) for a more detailed description of the verbose output.
A new command line option, --hum an-readable (or -H), has been added. T his option makes
git count-objects show sizes in a human-readable format.
T he git cvsimport Command
A new command line option, -R, has been added to git cvsim port. T his option creates a mapping
between CVS revisions and Git commits.
Users of the git cvsim port command can now use the following configuration variables to enable
certain command line options by default:
Configuration Variable
Command Line Option
Description
cvsim port.authorsFil
es
-A file_name
Maps CVS user names to full names
and email addresses.
cvsim port.ignorePath
s
-S regular_expression
Skips paths that match a certain
regular expression.
cvsim port.m ergeRegex
-M regular_expression
Parses commit messages in order to
107