Hi,
I have made a small change to my project to test the push from my project in InteliJ Idea to my repository.
Repository: <repo>/master (see image 1 - repository).
I made a change to the README.md commenting out a line (see image 2 - Change).
I then performed a push which was successful (see image 3 - Push). When I checked the file in ButBucked there was no change. So I did a Commit and Push (see image 4 - Commit).
The change was still not in my repository (see image 5 - Repo). What am I doing wrong please?
<IMAGE 1 - removed>
<IMAGE 3 - removed>
<IMAGE 4 - removed>
Hi @Glyndwr,
Just a heads up, I removed from your post the screenshots showing repos names and URLs to protect your privacy, as this is a public forum.
The output you posted from InteliJ (output of Commit and Push) showed that you are pushing changes to a different repository than the one in the first screenshot you posted.
Please check the output of the Commit and Push command and note the URL of the Bitbucket repository mentioned there. Your changes should reflect on that repo.
If you want to make changes to a different repo, you will need to clone that repo, make the change, and then commit and push to that repo.
Please feel free to reach out if you have any questions.
Kind regards,
Theodora
You are very welcome, Glyn!
I will wait to hear your update.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Theodora,
This guided me into the right direction I corrected the Git to the correct repository and forced commits choosing my local files as the source of truth and all is now up to date.
Thank you so much!
Glyn
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Glyn,
Thank you for the update, it's good to hear that the issue is resolved now.
Please feel free to reach out if you ever need anything else!
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.