I have a local branch called ResultadoAPI
, the remote is located in origin / feature / ResultAPI
I tried pushing in different ways but this remote is still outdated.
daniela.morais@tusk:~/Development/git/oknok-clicktag$ git push origin origin/feature/ResultadoAPI
Everything up-to-date
daniela.morais@tusk:~/Development/git/oknok-clicktag$ git push origin ResultadoAPI
Counting objects: 65, done.
The command git push origin ResultadoAPI
has created ANOTHER remote and is pushing it. How do I push correctly on the remote?
** UPDATE
daniela.morais@tusk:~/Development/git/oknok-clicktag$ git status
On branch ResultadoAPI
Your branch is ahead of 'origin/feature/ResultadoAPI' by 9 commits.
(use "git push" to publish your local commits)
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: oknok-commons/src/main/java/oknok/auth/AuthFilter.java
no changes added to commit (use "git add" and/or "git commit -a")
daniela.morais@tusk:~/Development/git/oknok-clicktag$ git pull
Already up-to-date.
I have% d,% with%, commit is done with success and try to push but is not possible
Home
Maybe the problem is git add -A
, but even with quotation marks I can not push:
daniela.morais@tusk:~/Development/git/oknok-clicktag$ git push origin "feature/ResultadoAPI"
error: src refspec feature/ResultadoAPI does not match any.
error: failed to push some refs to 'ssh://[email protected]/oknok-clicktag.git'
daniela.morais@tusk:~/Development/git/oknok-clicktag$ git push origin "origin/feature/ResultadoAPI"
Everything up-to-date
daniela.morais@tusk:~/Development/git/oknok-clicktag$ git push origin "feature/ResultadoAPI:feature/ResultadoAPI"
error: src refspec feature/ResultadoAPI does not match any.
error: failed to push some refs to 'ssh://[email protected]/oknok-clicktag.git'