Heroku - Command problem - git push -m master

0

Good afternoon.

Then someone can help me with a problem in the GIT and HEROKU process.

'-m' is not being recognized when I perform the following command.

$ git push -m master

I made the following commands and the following error appeared:

(venv) gabriel@gabriel-Aspire-F5-573:~/Área de Trabalho/Curso/venv/projetofinal2$ git init
Reinitialized existing Git repository in /home/gabriel/Área de Trabalho/Curso/venv/projetofinal2/.git/
(venv) gabriel@gabriel-Aspire-F5-573:~/Área de Trabalho/Curso/venv/projetofinal2$ git add .
(venv) gabriel@gabriel-Aspire-F5-573:~/Área de Trabalho/Curso/venv/projetofinal2$ git commit -m "first commit"
[master 6aecfe4] first commit
 1 file changed, 1 insertion(+), 1 deletion(-)
(venv) gabriel@gabriel-Aspire-F5-573:~/Área de Trabalho/Curso/venv/projetofinal2$ heroku create
Creating app... done, ⬢ arcane-temple-74203
https://arcane-temple-74203.herokuapp.com/ | https://git.heroku.com/arcane-temple-74203.git
(venv) gabriel@gabriel-Aspire-F5-573:~/Área de Trabalho/Curso/venv/projetofinal2$ git push -m master
error: unknown switch 'm'
uso: git push [<options>] [<repository> [<refspec>...]]

    -v, --verbose         be more verbose
    -q, --quiet           be more quiet
    --repo <repository>   repository
    --all                 push all refs
    --mirror              mirror all refs
    --delete              delete refs
    --tags                push tags (can't be used with --all or --mirror)
    -n, --dry-run         dry run
    --porcelain           machine-readable output
    -f, --force           force updates
    --force-with-lease[=<refname>:<expect>]
                          require old value of ref to be at this value
    --recurse-submodules[=<check|on-demand|no>]
                          control recursive pushing of submodules
    --thin                use thin pack
    --receive-pack <receive-pack>
                          receive pack program
    --exec <receive-pack>
                          receive pack program
    -u, --set-upstream    set upstream for git pull/status
    --progress            force progress reporting
    --prune               prune locally removed refs
    --no-verify           bypass pre-push hook
    --follow-tags         push missing but relevant tags
    --signed[=<yes|no|if-asked>]
                          GPG sign the push
    --atomic              request atomic transaction on remote side

(venv) gabriel@gabriel-Aspire-F5-573:~/Área de Trabalho/Curso/venv/projetofinal2$ 

I also ran the command below:

$ git push --m master

However, another error occurred:

(venv) gabriel@gabriel-Aspire-F5-573:~/Área de Trabalho/Curso/venv/projetofinal2$ git push --m master
fatal: 'master' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
    
asked by anonymous 21.11.2018 / 20:30

0 answers