Reputation: 507
I work with a project who's convention is to use 4 spaces instead of tabs. With git GUIs such as SourceTree that use the git CLI under the hood, I was able to previously develop locally using tabs, and push those tabs as spaces. This was done using the first answer in this question: Can git automatically switch between spaces and tabs?
I tried setting this up with GitKraken with no success. I'm guessing that is because GitKraken doesn't use the git CLI under the hood. Is there a way to accomplish this with GitKraken?
Upvotes: 2
Views: 238
Reputation: 1323593
That would not be possible with GitKraken directly, as reported here and in this thread
GitKraken not using .gitattributes filters
I've done a little bit of research and I'm guessing this is because GitKraken is running on it's own internal Git and not the OS git cli and is not checking in with my local .gitattributes
file.
You would need to switch to command line, just for the git commit
part.
Upvotes: 1