#20953: git push -f in docs needs a stern warning
--------------------------------------+------------------------------------
     Reporter:  EvilDMP               |                    Owner:  nobody
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  Documentation         |                  Version:  master
     Severity:  Normal                |               Resolution:
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  0                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------

Comment (by EvilDMP):

 Where the Working with Git docs say things like: `git remote add upstream
 g...@github.com:django/django.git` this should say instead: `git remote add
 upstream https://github.com/django/django`.

 This isn't ''always'' read-only in the way that GitHub's now-deprecated
 `git://` URLs are, but at least it requires a password, even if you have
 write-access to the repository, when pushing.

 Then of course the `git push -f` section in the docs needs a note with the
 stern warnings mentioned above, and a mention of alternatives to `push
 -f`.

 (It's actually possible to delete a remote's push URL to prevent pushing,
 but this is probably beyond the scope of this document.)

-- 
Ticket URL: <https://code.djangoproject.com/ticket/20953#comment:5>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.4de337ae893c1bb1a72bb45094b43031%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to