# Executing in git push command the console does not update interactively when loaded into gitea

**URL:** <https://forum.gitea.com/t/executing-in-git-push-command-the-console-does-not-update-interactively-when-loaded-into-gitea/6027>\
**Category:** Uncategorized\
**Created:** [October 11, 2022, 4:37am UTC](https://forum.gitea.com/t/executing-in-git-push-command-the-console-does-not-update-interactively-when-loaded-into-gitea/6027 "2022-10-11T04:37:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ronkorn](https://avatars.discourse-cdn.com/v4/letter/r/d6d6ee/32.png) [@Ronkorn](https://forum.gitea.com/u/Ronkorn)\
**Post date:** [October 11, 2022, 4:37am UTC](https://forum.gitea.com/t/executing-in-git-push-command-the-console-does-not-update-interactively-when-loaded-into-gitea/6027/1 "2022-10-11T04:37:42Z")

</div>

We have post-update enabled

> #!/bin/sh  
> branch=$(git rev-parse --symbolic --abbrev-ref $1)  
> echo Update pushed to branch $branch
> 
> echo Попытка обновления ветки $branch  
> if [[$branch = “Testing”] || [$branch = “testing\_net\_5\_0”]];  
> then  
> cd /work/Ansible  
> git --git-dir=.git pull  
> ansible-playbook -i production2 test\_taxiapi.yml --vault-password-file /work/vault.txt  
> fi

After the push is executed, the “ansible-playbook -i production2 test\_taxiapi.yml --vault-password-file” is executed /work/vault.txt ".But the console prints the output of this processing is output only at the end, everything at once. And it is not clear what is happening at this time. It needs to output messages during processing,  
Before switching to gitea from git, this worked  
I will be glad of any ideas
