[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Move to git is imminent - awaiting Stefan's approval
From: |
Nix |
Subject: |
Re: Move to git is imminent - awaiting Stefan's approval |
Date: |
Sat, 11 Jan 2014 22:34:15 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
On 6 Jan 2014, David Kastrup stated:
> The commit ids are unique. It's usually easiest to quote the entire
> SHA128 via copy&paste, but the first 16 digits or so are usually
> sufficient.
You can just use 'git log --abbrev-commit' to get commit IDs abbreviated
(enough for nonambiguity and no further).
If you want to enable this forever, git 1.7.6+ lets you say
git config log.abbrevCommit true
(add --global or --system to make it apply to all repositories for this
user, or all repositories on the system, respectively).
> In addition, once you have a local repository, something like
>
> git clone existing_workdir new_workdir
>
> will do the cloning by using hard links, taking almost no time and no
> space. I often do that for one-off testing of stuff while my "main"
> workdir is busy compiling stuff.
In addition in addition, git-new-workdir (a script in git's contrib/
directory, likely to be installed by default eventually in some form or
other) will let you check out more than one branch at once on the same
repository.
--
NULL && (void)
- Re: Move to git is imminent - awaiting Stefan's approval, (continued)
- Re: Move to git is imminent - awaiting Stefan's approval, Angelo Graziosi, 2014/01/06
- Re: Move to git is imminent - awaiting Stefan's approval, David Kastrup, 2014/01/06
- Re: Move to git is imminent - awaiting Stefan's approval,
Nix <=
- Re: Move to git is imminent - awaiting Stefan's approval, Andreas Schwab, 2014/01/06
- Re: Move to git is imminent - awaiting Stefan's approval, Sven Axelsson, 2014/01/07
- Re: Move to git is imminent - awaiting Stefan's approval, Stephen Berman, 2014/01/07
- Re: Move to git is imminent - awaiting Stefan's approval, Andreas Schwab, 2014/01/07
- Re: Move to git is imminent - awaiting Stefan's approval, Stephen Berman, 2014/01/07
- Re: Move to git is imminent - awaiting Stefan's approval, Eli Zaretskii, 2014/01/07
- Re: Move to git is imminent - awaiting Stefan's approval, Andreas Schwab, 2014/01/07