Skip to content

Instantly share code, notes, and snippets.

@edysegura
Last active June 12, 2020 19:46
Show Gist options
  • Save edysegura/02e46a6f7dcfb2af54bd89de3f19446f to your computer and use it in GitHub Desktop.
Save edysegura/02e46a6f7dcfb2af54bd89de3f19446f to your computer and use it in GitHub Desktop.
[Git] Using TortoiseGit in command line
#!/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
@edysegura
Copy link
Author

edysegura commented Aug 2, 2016

Save the file (.bashrc) under to your %HOME%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment