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

Not able to push 4 folders

Shyam November 14, 2022

We are not able to push the 4 folders to remote

these 4 folders are having JS files 

I have test file and commit and push it worked but it is not working for these 4 folders 

1 answer

0 votes
Sebastian Krzewiński
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 14, 2022

Hi @Shyam 

 

Can you provide how you try add and push those folders?

 

Regards,

Seba

Shyam November 15, 2022

Hi Sebastian,

Here  are the steps I have followed: 

 

1. I have added the folders ( after this step I checked git status but it’s  showing as clean although I added folders ) 

2. git add .

3. Git commit -m “message “

4. Git push 

 

And noticed one more thing , I can push those folders to root folder , but it not pushing to sub folder where it supposed to be. 

Erez Maadani
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 15, 2022

I think the problem is in #2.

Try this instead: git add --all

And then: git status

To verify the folders were added.

If that doesn't work, check if you have .gitignore files in these folders and also the contents of your main .gitignore file in the root folder.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events