Add Git Branch Name to Terminal Prompt (Mac)
When in a repository directory you can show the name of the currently checked out Git branch in the prompt, making it easier to track where you are (and where you're about to commit).
My PyQt GUI book Create Simple GUI Applications has been updated, with new chapters on Qt Designer and multithreading. Get it here.
When in a repository directory you can show the name of the currently checked out Git branch in the prompt, making it easier to track where you are (and where you're about to commit).
Initialize a Git repository from a local directory, and the files therein, pushing it to an existing but empty remote.