Re: [git-users] Need help in Git

2016-05-16 Thread Konstantin Khomoutov
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 want to prevent such pushes. 
> >
> > Do you mean rejecting them in the receiving repository or your
> > local one? 
> >
> Rejecting them pushing to remote central repository.

I do understand the intent.

*Where* do you want to reject such a push: on "our" side -- which does
pushing -- or on "their" side -- which receives our push?

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [git-users] Need help in Git

2016-05-16 Thread Sanjiv Kumar
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. 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. 
>
> Do you mean rejecting them in the receiving repository or your local 
> one? 
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [git-users] Need help in Git

2016-05-16 Thread Konstantin Khomoutov
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.

Do you mean rejecting them in the receiving repository or your local
one?

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.