![]() ![]() While this cli is powerful, I mostly use it for gh browse to quickly open a browser window for the current repo. If you are still using hub I suggest switching to gh. Just using gd for git diff and gs for git status made me go a lot faster. I added shortcuts whenever I felt like I got a good handle of the current set of commands and I wanted to get faster at using them. The way I got used to Git was by printing out a cheat sheet and putting it on my desk. Honestly though, adding so many shortcuts in addition to existing commands can make version control even more confusing. If you autoformat your code with prettier or other formatting tools, whitespace changes clutter your diff views so I recommend always using -w to ignore whitespace. These shortcuts significantly reduce the amount of typing when working with Git. I created custom fish functions to map exa to ls in my. You could use fish aliases, but the automatic expansion for such commonly used commands is distracting. When I install new tools like exa, I tend to never use them and completely forget about them and it’s better to overwrite existing commands like ls. You can set this up in the iTerm2 preferences for your default profile. This makes it easier to quickly bring iTerm2 to the front or hide it. You can set up a global shortcut to quickly bring iTerm2 to the foreground or background. If you are automatically switching between light and dark mode on your system, check “Use different colors for light and dark mode” in the Colors section. If you like ligatures, you can enable them in the iTerm2 Text preferences: It’s great for consistency across your tools!
0 Comments
Leave a Reply. |