Thiago Farina writes:
> When I want to revert a change to a file that is already committed
> what is the best way?
>
> The way I found was:
>
> $ git checkout HEAD /path/to/my/file
> $ git reset HEAD /path/to/my/file
>
> Is this the canonical/best way or there other (easier-faster) ways?
If the
Hi,
When I want to revert a change to a file that is already committed
what is the best way?
The way I found was:
$ git checkout HEAD /path/to/my/file
$ git reset HEAD /path/to/my/file
Is this the canonical/best way or there other (easier-faster) ways?
Thanks,
--
To unsubscribe from this list:
Hi,
In article ,
McKown, John wrote:
> 1) is this the proper forum for asking general git usage questions, such
> as "how to"? If not, what is?
I'd say that here is fine. #git on freenode is also a good source of advice.
> 2) I am unsure that I did things the "proper" way. I have a
On Thu, 8 Nov 2012 08:26:22 -0600
"McKown, John" wrote:
> 1) is this the proper forum for asking general git usage questions,
> such as "how to"? If not, what is?
This list is okay for the general usage questions.
But since it's the place where the development questions are discussed
as well, an
ance Company.SM
> -Original Message-
> From: git-ow...@vger.kernel.org [mailto:git-ow...@vger.kernel.org] On
> Behalf Of McKown, John
> Sent: Thursday, November 08, 2012 8:26 AM
> To: 'git@vger.kernel.org'
> Subject: three questions: proper forum? & reverting changes
1) is this the proper forum for asking general git usage questions, such as
"how to"? If not, what is?
2) I am unsure that I did things the "proper" way. I have a git maintained
subdirectory. I made some changes and saved them in the working directory, but
did not "git add" or "git commit" them
6 matches
Mail list logo