DEV Community

Discussion on: My Personal Git Tricks Cheatsheet

Collapse
 
antjanus profile image
Antonin J. (they/them)

I do know. And the comments taught me a good deal but I don't like adding bash commands to git aliases since I use git on non Linux machines

Collapse
 
sandordargo profile image
Sandor Dargo

Sorry then. How come you use sed and xargs in your aliases? Or you want to maintain only one .gitconfig and push all the rest to OS-specific setenvs?

Thread Thread
 
antjanus profile image
Antonin J. (they/them)

That's it!

I write completely different aliases for Powershell but I get to still use identical git aliases

Thread Thread
 
sandordargo profile image
Sandor Dargo

Have you considered using Git BASH on windows?

Thread Thread
 
antjanus profile image
Antonin J. (they/them)

yep, quickly dismissed it. It's not worth it plus Powershell is just so damned good!