
    l:i                     H    d dl mZ d dlmZ d dlmZ ed        Zed        Zy)    )shell)replace_argument)git_supportc                     d| j                   v xr> d| j                  v xr. d| j                  v xr d| j                  v xs d| j                  v S )Npushz! [rejected]zfailed to push some refs tozFUpdates were rejected because the tip of your current branch is behindzBUpdates were rejected because the remote contains work that you do)scriptoutputcommands    R/var/www/html/bot/venv/lib/python3.12/site-packages/thefuck/rules/git_push_pull.pymatchr      sa    gnn$ <gnn,<)W^^;<),3NN; ;),3NN;=    c                 l    t        j                  t        | j                  dd      | j                        S )Nr   pull)r   and_r   r   r
   s    r   get_new_commandr      s*    ::&w~~vvFnn& &r   N)thefuck.shellsr   thefuck.utilsr   thefuck.specific.gitr   r   r    r   r   <module>r      s6      * , = = & &r   