Re: Git rescue mission
- From
Theodore Tso <tytso@mit.edu>
- Date
- Feb 9, 2007, 01:48 UTC
- Message-ID
- <20070209014852.GA13207@thunk.org>
- In-Reply-To
- <20070208221023.GB1091@spearce.org>
On Thu, Feb 08, 2007 at 05:10:23PM -0500, Shawn O. Pearce wrote:
Show 8 quoted lines
> git config alias.new "gitk --all --not ORIG_HEAD" > > Would give you a new git subcommand: > > git new > > which shows all of the new stuff, on all branches, but doesn't show > your prior commit history.
Aliases don't seem to be working for me; I'm using git 1.5.0-rc4. Am I doing something wrong?
<tytso@candygram> {/usr/projects/linux/linux-2.6} [master] 37% git version git version 1.5.0.rc4 <tytso@candygram> {/usr/projects/linux/linux-2.6} [master] 38% git config alias.new "gitk --all --not ORIG_HEAD" <tytso@candygram> {/usr/projects/linux/linux-2.6} [master] 39% git new git: 'new' is not a git-command
The most commonly used git commands are:
add Add file contents to the changeset to be committed next
apply Apply a patch on a git index file and a working tree
archive Creates an archive of files from a named tree
...<tytso@candygram> {/usr/projects/linux/linux-2.6} [master] 40% tail .git/config
[user]
name = Theodore Ts'o
email = tytso@mit.edu[remote "iwlwifi"]
url = http://bughost.org/repos/iwlwifi.git/
fetch = +refs/heads/*:refs/remotes/iwlwifi/*
[alias]
new = gitk --all --not ORIG_HEAD