-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 04 Mar 2009 19:40:55 -0800
Mike McCune <[email protected]> wrote:

> Mike McCune wrote:
> > just a heads up, I accidentally did a 'git push --all' (not sure
> > why i typed --all).
> > 
> > Looks like it pushed a bunch of my local junk:
> > 
> >   * [new branch]      482779 -> 482779
> >   * [new branch]      482879 -> 482879
> >   * [new branch]      b481767 -> b481767
> >   * [new branch]      checkstyle -> checkstyle
> >   * [new branch]      client-work -> client-work
> >   * [new branch]      cobbler-units -> cobbler-units
> >   * [new branch]      devel -> devel
> >   * [new branch]      file-storage -> file-storage
> >   * [new branch]      foo -> foo
> >   * [new branch]      playpen -> playpen
> >   * [new branch]      snippets -> snippets
> >   * [new branch]      sql -> sql
> >   * [new branch]      system-sync -> system-sync
> >   * [new branch]      test-local -> test-local
> >   * [new branch]      unit-tests -> unit-tests
> >   * [new branch]      virt-work -> virt-work
> >   * [new branch]      warning -> warning
> > 
> > deleting *all* of the above remote branches.
> > 
> > Mike
> 
> My workflow is:
> 
> $ git branch -dr origin/foo
> Deleted remote branch origin/foo.
> $ git push origin :foo
> To ssh://git.fedorahosted.org/git/spacewalk.git/
>   - [deleted]         foo
> 
> Mike

Wow that's a scary one, although I think if there happened to be a
disjoint remote branch with the same name as one of your local ones, it
would refuse to push it saying it's not a fast forward.

Cheers,

Devan

- -- 
  Devan Goodwin <[email protected]>
  Software Engineer     Spacewalk / RHN Satellite
  Halifax, Canada       650.567.9039x79267
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkmv1lgACgkQAyHWaPV9my4AywCg1BdHZvSF66SGUdn7n3uVVIFd
ZI4AoO1FaksRSWNUuG3VrcMPDOV3SqTT
=t8qY
-----END PGP SIGNATURE-----

_______________________________________________
Spacewalk-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to