You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
I'm not so familiar with CLI git so I use Atlassian's Sourcetree to manage my Git.
However, I've found out that Sourcetree doesn't recognize .gitignore's directory with tailing asterisk(*).
i.e, .vscode/ is ignored while .vscode/* is not ignored.
Items like .vscode/settings.json keep appearing in the unstaged area.
As far as I know, * is a wildcard for any file/subdirectory in the directory so this should not happen.
My .gitignore extension creates all the items like /* so now I have to manually change all that to / to avoid staging what I don't wanna commit.
I can't test out if this is a normal behavior in any Git applications or the native git itself because Sourcetree is the only Git management I know of. Is it something that would also happen in traditional CLI git?
@chlwovlfgit be default uses globbing patterns (https://linux.die.net/man/7/glob)
There can be two reasons with SourceTree behaviour,
# git rm --cached -r .
# git add .
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.