Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Can not push my project changes from desktop to repository using InteliJ Idea

Glyndwr April 20, 2024

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>

2 - Change.PNG

<IMAGE 3 - removed>

<IMAGE 4 - removed>

5 - Repo.PNG

1 answer

1 vote
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 23, 2024

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

Glyndwr April 23, 2024

Thank you Theodora,

I greatly appreciate your help. I will review this, this weekend and get back to you.

Kind regards,

Glyn

 

Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 24, 2024

You are very welcome, Glyn!

I will wait to hear your update.

Kind regards,
Theodora

Glyndwr April 27, 2024

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

 

Like Theodora Boudale likes this
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 29, 2024

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events