"Git gets easier once you get the basic idea that branches are homeomorphic endofunctors mapping submanifolds of a Hilbert space." - Isaac Wolkerstorfer @agnoster
+ Once I started making a habit of opening Terminal, I began to appreciate the lightweight simplicity of using the command line. Terminal has some built-in themes, but as look-alike text commands stacked I was resorting to
clear
, negating the history of previous commands. + It wasn't until taking the Udacity course "How to Use Git and GitHub" (that course has since been replaced with "Version Control with Git") that I learned Terminal could be further customized for more legible text and added features.
+ The following instructions are based on the deprecated Udacity course and will help make your Terminal more insightful with style!
- Download these files (since the files have a
.
in front of them, they will be hidden in Finder, see step 2): .git-prompt-sh
(adds an asterisk to indicate change to branch).git-completion.bash
(adds auto-complete for git commands).bash_profile
(makes everything work)- For steps 3 & 4, you can use mv in Terminal to move the files or unhide the files in Finder with this keyboard shortcut toggle
shift + command + .
. - Move
.git-prompt-sh
and.git-completion.bash
to your home directory. - If you already have a file named
.bash_profile
in your home directory, copy and paste the content from the downloaded.bash_profile
to the bottom of it, otherwise move the downloaded.bash_profile
to your home directory. - Restart Terminal and enjoy the style!
.bash_profile
, the line export PS1=" "
controls how the command prompt is displayed, so feel free to customize further and be sure to comment your favorite Terminal tips!
Goldcasino : 10cric login
ReplyDeleteGoldcasino: 100% deposit bonus up to €10. Free spins. 100% bonus 10cric login up to €10. Free spins. 100% bonus up to €10. Free 제왕카지노 spins. leovegas