Short Note

Random Operations in Git

Display Git Branch in Bash Prompt It’s easy to accidentally make commits or other changes to the wrong branch in git. To display the git branch in the bash prompt open the bash profile: nano ~/.bash_profile Then add the following text and save: source /Library/Developer/CommandLineTools/usr/share/git-core/ PS1=’\W$(__git_ps1 "(%s)") > ‘ From here on out your bash prompot will display the current git branch. For example: project(branch_name) >

BFG Repo-Cleaner - Deleting Large Files From Git

BFG Repo-Cleaner is the best way to delete a large file from a git repository that you’ve already committed. When a file is committed to a repository it stays in the repository’s history, and is uploaded to a remote repository even if you remove it in a subsequent commit. This allows a user to undo a subsequent commit and return to a previous version even if the user deletes files in the later commit.

Guides For Learning Git & Github

Another Note on A blogdown Tutorial

A Quick Note on Two Beautiful Websites