Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

The GIT mode

1 view
Skip to first unread message

Mihamina Rakotomandimby

unread,
Jul 3, 2009, 2:25:28 AM7/3/09
to
Hi all,
I am running (Copy/paste from the startup buffer):
GNU Emacs 23.0.91.1 (x86_64-pc-linux-gnu, GTK+ Version 2.16.0)
It's on an Ubuntu Jaunty amd64.

When I open a file under GIT, I have "Git Master" displayed.
So I guess I have some gIt support.

Would you know any tutrial on how to use it efficiently?
Thank you.

Anselm Helbig

unread,
Jul 3, 2009, 5:18:55 AM7/3/09
to
At Fri, 03 Jul 2009 09:25:28 +0300,

There's a generic version control framework in emacs called "VC" which
also supports git, read about it in the info pages

(info "(emacs) Version Control")

(Copy this text into emacs, put the cursor past the last parenthesis
and press C-x C-e.)

VC is centered around work with single files. If you need a broader
view, there are several tools to choose from. "git.el" might already
be installed for you, you can call it with M-x git-status. You get an
overview of the available commands with C-h C-m.

HTH,

Anselm


--
Anselm Helbig
mailto:anselm.helb...@googlemail.com

Jason Rumney

unread,
Jul 3, 2009, 7:45:55 AM7/3/09
to
On Jul 3, 5:18 pm, Anselm Helbig <anselm.helbig
+news2...@googlemail.com> wrote:

> VC is centered around work with single files.

Not true. C-x v d will bring up a list of all the files under the
selected directory which can be operated on, and lets you select
multiple files to work on as a group.

Anselm Helbig

unread,
Jul 3, 2009, 2:14:26 PM7/3/09
to
At Fri, 3 Jul 2009 04:45:55 -0700 (PDT),

You learn a new thing everyday... Thanks!

Mihamina Rakotomandimby

unread,
Jul 5, 2009, 2:23:39 AM7/5/09
to
07/03/2009 09:14 PM, Anselm Helbig::

>>> VC is centered around work with single files.
>> Not true. C-x v d will bring up a list of all the files under the
>> selected directory which can be operated on, and lets you select
>> multiple files to work on as a group.
> You learn a new thing everyday... Thanks!

Really? ;-)
Thanks to all.

Jian Lee

unread,
Jul 10, 2009, 3:46:35 AM7/10/09
to
一个 Gnus 带附件的问题请教大家:

不知道为什么,我发送邮件时带一个 patch (txt格式)形式附件,别人收到的
patch 附件第一行的第一个字符前总插入一个 ">" 符号。请问其他人有没有遇到?希
望大家能指点一下。

---------------------------------------------------------------------------------------------------------------------------------
# diff 0001-Updates-to-Chinese-Simplified-zh_CN-translation.patch ~/tmp/0001-Updates-to-Chinese-Simplified-zh_CN-translation.patch
1c1
< From 6bfe0b02c145935596fd7f1e04f43d50acdad39c Mon Sep 17 00:00:00 2001
---
> >From 6bfe0b02c145935596fd7f1e04f43d50acdad39c Mon Sep 17 00:00:00 2001
==================================================================================

谢谢

--

Jian Lee
MSN : lijia...@gmail.com

0 new messages