-
When I am changing permissions on a file with chmod, it will show up on the "unstaged changes" as
There are so many times when I am developing on a script, I need to just try to run it so I change permissions, and then I forgot that I did it, because when selecting which changes to stage, there is not an option to include or drop the mode change. Are there any way to do this, or do I need to just pay better attention when changing file permissions? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
You can make Basically, this is a "problem" of |
Beta Was this translation helpful? Give feedback.
-
If the script is supposed to be run, why don't you check it in with 755 permissions in the first place? |
Beta Was this translation helpful? Give feedback.
You can make
git
itself ignore such changes, but I'm not sure if I'd recommend it.Basically, this is a "problem" of
git
, not oflazygit
, so I'd suggest to pay better attention to what you're doing.