1

Here I have some assets that don't want them to be pushed/pulled. enter image description here

I don't want some assets and classes to be in controlled. and I want to make them as private Or ignored. Simple Question. how can I do this?

Alireza Pir
  • 878
  • 1
  • 16
  • 41
  • 1
    What do you mean by updated? Do you mean push any changes to your Git repo? If so add a `.gitignore` file with pointers to ignore those files to the repo – akaBase Oct 31 '21 at 12:10
  • @akaBase yes that's what I mean. I don't want some items to be pushed, could you please give me some reference for how to do this cause I'm completely new at git subject. – Alireza Pir Oct 31 '21 at 12:12
  • 1
    [Docs](https://git-scm.com/docs/gitignore) Sorry for the late reply, those are the docs if you haven't found them yet. – akaBase Oct 31 '21 at 13:33

1 Answers1

0

You need to remove the items from source control (eg: via right-click -> Delete) while keeping the items in the workspace. After that, you can add the local items to the ignore list: https://blog.plasticscm.com/2014/11/configuring-ignored-items-on-your.html

Carlos Alba Zamanillo
  • 1,271
  • 1
  • 9
  • 11