All of lore.kernel.org
 help / color / mirror / Atom feed
* post commit hook
@ 2018-02-28  9:45 Shreyasi Rao
  2018-02-28 11:11 ` [Outreachy kernel] " Varsha Rao
  0 siblings, 1 reply; 2+ messages in thread
From: Shreyasi Rao @ 2018-02-28  9:45 UTC (permalink / raw)
  To: outreachy-kernel

[-- Attachment #1: Type: text/plain, Size: 448 bytes --]

In the .git/hooks folder I found that there was no post-commit file or
post-commit.sample folder so I used mkdir and touch to create the file. But
when I edited the post-commit file with vim
.git/hooks/post-commit.sample/post-commitit gives me the following error

.git/hooks/post-commit.sample/post-commit" E212: Can't open file for writing
If you could please help me with this, I am very new to git and waited a
little too long to ask for help.

[-- Attachment #2: Type: text/html, Size: 4161 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Outreachy kernel] post commit hook
  2018-02-28  9:45 post commit hook Shreyasi Rao
@ 2018-02-28 11:11 ` Varsha Rao
  0 siblings, 0 replies; 2+ messages in thread
From: Varsha Rao @ 2018-02-28 11:11 UTC (permalink / raw)
  To: Shreyasi Rao; +Cc: outreachy-kernel

Hi Shreyasi,

On Wed, Feb 28, 2018 at 3:15 PM, Shreyasi Rao <shreyasirao97@gmail.com> wrote:
> In the .git/hooks folder I found that there was no post-commit file or
> post-commit.sample folder so I used mkdir and touch to create the file. But
> when I edited the post-commit file with vim
> .git/hooks/post-commit.sample/post-commitit gives me the following error
>
> .git/hooks/post-commit.sample/post-commit" E212: Can't open file for writing

The file path has error. The file path should be .git/hooks/post-commit.sample
You need to rename the post-commit.sample file as post-commit. Then remove
and add lines as suggested in the tutorial. If post-commit file is not
available, check
with pre-commit file.

https://kernelnewbies.org/Outreachyfirstpatch?action=show&redirect=OPWfirstpatch#kernel-setup-done

Thanks,
Varsha


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-02-28 11:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-28  9:45 post commit hook Shreyasi Rao
2018-02-28 11:11 ` [Outreachy kernel] " Varsha Rao

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.