The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

After pushing to a bucket, it remains empty. what could be the cause

Hyginus Nwagu
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 12, 2022

Ran these command to to push it

cd projdir

git init
git add *
git commit -m "Initial Commit by Hyginus Nwagu"
git push -u origin master

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Karthick S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 13, 2022

Hello @Hyginus Nwagu

Welcome to the Community!

Could you please check if your local branch has remote-tracking? You may run the below command to confirm:

git remote -v

 Can you also check if there are any files tracked/untracked? 

git status

You may use the below command to add all the untracked files to the staging area, commit and then push them to the remote branch. 

git add .
git commit -m "message"
git push remote-name branch-name

Reference: https://support.atlassian.com/bitbucket-cloud/docs/push-code-to-bitbucket/

I hope this helps.

Kind regards,
Karthick S

TAGS
AUG Leaders

Atlassian Community Events