Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vitalii.kaplenko #18

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Vitalii.kaplenko #18

wants to merge 4 commits into from

Conversation

tsedii
Copy link

@tsedii tsedii commented Apr 27, 2020

There're some problems here.

When I try:
dij@ADMIN-PC MINGW64 /d/Documents/dii/cpp/gl-android-training-2020 (work)
$ git remote -vv

I get:
main [email protected]:Kernel-GL-HRK/gl-android-training-2020.git (fetch)
main [email protected]:Kernel-GL-HRK/gl-android-training-2020.git (push)
origin [email protected]:Kernel-GL-HRK/gl-android-training-2020.git (fetch)
origin [email protected]:Kernel-GL-HRK/gl-android-training-2020.git (push)

As a result
$ git branch -v
master a0a899f 02-Git: Add homework

  • work ee27cb9 HomeWork1: Implement the production version of the game

After all commits, when I try:
$git push

I get:
fatal: The upstream branch of your current branch does not match
the name of your current branch. To push to the upstream branch
on the remote, use

git push main HEAD:Vitalii.Kaplenko

To push to the branch of the same name on the remote, use

git push main HEAD

To choose either option permanently, see push.default in 'git help config'.

So, I've pushed my commits by:
$git push main HEAD:Vitalii.Kaplenko

RockPaperScissors.cpp was added for check MakeFile and get first
an executable version of future Rock-Paper-Scissors game.
To give users the ability to enter the necessary data from the
command line for playing game.
@tsedii tsedii added the help wanted Extra attention is needed (set by author). label Apr 27, 2020
@an1kh
Copy link
Contributor

an1kh commented Apr 27, 2020

You should push branch to your fork (and not main) and create PR to main/Vitalii.Kaplenko (and not main/master).
Please try:

  1. $ git remote remove origin
  2. go to your fork and copy its address to clipbuffer
  3. add origin again. e.g. $ git remote add origin [email protected]:tsedii/gl-android-training-2020.git
  4. push code there and create PR as required.

@an1kh an1kh added the changes requested The PR review revealed issues which should be fixed (set by reviewer). label Apr 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changes requested The PR review revealed issues which should be fixed (set by reviewer). help wanted Extra attention is needed (set by author).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants