Last active
June 12, 2020 19:46
-
-
Save edysegura/02e46a6f7dcfb2af54bd89de3f19446f to your computer and use it in GitHub Desktop.
[Git] Using TortoiseGit in command line
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
alias git-commit='TortoiseGitProc.exe /command:commit' | |
alias git-log='TortoiseGitProc.exe /command:log' | |
alias git-diffall='TortoiseGitProc /command:showcompare /revision1:HEAD~1 /revision2:0000000000000000000000000000000000000000' | |
# Personal customization | |
# export PS1="\u@\W $ " # username @ working dir | |
export PS1="\e[1;32m\u@\e[1;34m\W\e[m $ " # username @ working dir | |
# export PS1="\e[1;32m$\e[m " # username @ working dir |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Save the file (.bashrc) under to your %HOME%