Hi All,
I wanted to avoid push if any of the files is deleted from the local git
clone area. Can anyone please help me with that?
I am using Stash for repository management.
Thanks,
Sanjiv
--
You received this message because you are subscribed to the Google Groups "Git
for human beings" gro
On Mon, 16 May 2016 04:48:57 -0700 (PDT)
Sanjiv Kumar wrote:
> I wanted to avoid push if any of the files is deleted from the local
> git clone area. Can anyone please help me with that?
>
> I am using Stash for repository management.
It's not clear where exactly you want to prevent such pushes
Rejecting them pushing to remote central repository.
On Monday, May 16, 2016 at 6:37:47 PM UTC+5:30, Konstantin Khomoutov wrote:
>
> On Mon, 16 May 2016 04:48:57 -0700 (PDT)
> Sanjiv Kumar > wrote:
>
> > I wanted to avoid push if any of the files is deleted from the local
> > git clone area. C
On Mon, 16 May 2016 07:01:16 -0700 (PDT)
Sanjiv Kumar wrote:
> > > I wanted to avoid push if any of the files is deleted from the
> > > local git clone area. Can anyone please help me with that?
> > >
> > > I am using Stash for repository management.
> >
> > It's not clear where exactly you wa
On our side we need to reject the push if any file is deleted.
On Monday, May 16, 2016 at 5:18:57 PM UTC+5:30, Sanjiv Kumar wrote:
>
> Hi All,
>
> I wanted to avoid push if any of the files is deleted from the local git
> clone area. Can anyone please help me with that?
>
> I am using Stash for
On Mon, 16 May 2016 08:10:32 -0700 (PDT)
Sanjiv Kumar wrote:
> > I wanted to avoid push if any of the files is deleted from the
> > local git clone area. Can anyone please help me with that?
> >
> > I am using Stash for repository management.
>
> On our side we need to reject the push if any file
On Mon, 16 May 2016 19:56:20 +0300
Konstantin Khomoutov wrote:
[...]
> Something along this lines could be a good start:
>
> #!/bin/sh
>
> set -e -u
>
> while read _ our _ their; do
> out=`git diff --name-status --diff-filter=D $their $our`
> test -z "$out" && exit 1
> done
My question pertains more to *who* uses Git rather than *how* to use Git.
I'm a recruiter, partnering with clients to help them find the best in
DevOps & Cloud Engineering talent. Can anyone suggest a forum to post
openings? Where do you go when you're looking for a new role?
Thanks!
--
You re
On Mon, 16 May 2016 11:39:00 -0700 (PDT)
"'Holly Dwyer' via Git for human beings"
wrote:
> My question pertains more to *who* uses Git rather than *how* to use
> Git. I'm a recruiter, partnering with clients to help them find the
> best in DevOps & Cloud Engineering talent. Can anyone suggest a f