All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shreyasi Rao <shreyasirao97@gmail.com>
To: outreachy-kernel@googlegroups.com
Subject: post commit hook
Date: Wed, 28 Feb 2018 15:15:56 +0530	[thread overview]
Message-ID: <CABwYNcWn2bj=fN4dyCopd74W7dP7mNC6PNj_urzJ_Vc23TgGnQ@mail.gmail.com> (raw)

[-- 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 --]

             reply	other threads:[~2018-02-28  9:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-28  9:45 Shreyasi Rao [this message]
2018-02-28 11:11 ` [Outreachy kernel] post commit hook Varsha Rao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CABwYNcWn2bj=fN4dyCopd74W7dP7mNC6PNj_urzJ_Vc23TgGnQ@mail.gmail.com' \
    --to=shreyasirao97@gmail.com \
    --cc=outreachy-kernel@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.