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

how to ignore file bitbucket-pipelines.yml when push or pull code

Huy Pham
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!
August 17, 2023

i want to ignore file bitbucket-pipelines.yml when push or pull code. 

I have added the command line to .gitignore but it doesn't seem to be executing

Screenshot 2023-08-17 at 16.34.58.png

1 answer

0 votes
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 17, 2023

G'day @Huy Pham and welcome to the community.

I am just checking if the bitbucket-pipeline.yml is tracked or not. Because if it's tracked, then gitignore will not work.

That said, do check our guide on gitignore below under ignoring previously committed files if the yml was created earlier:

https://www.atlassian.com/git/tutorials/saving-changes/gitignore

Let me know if you have any questions.

Regards,
syahrul

Suggest an answer

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

Atlassian Community Events