Open ~/.bash_profile
in your favorite editor and add the following content to the bottom.
# Git branch in prompt.
parse_git_branch() {
<body> | |
<script> | |
window.fbAsyncInit = function() { | |
FB.init({ | |
appId : 'YOUR_APP_ID', // App ID | |
status : true, // check login status | |
}); | |
// check if the view has registered an "after facebook load callback" | |
if(typeof window.appSpecificFbAsyncInit == 'function') { |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
-- Remove the history from | |
rm -rf .git | |
-- recreate the repos from the current content only | |
git init | |
git add . | |
git commit -m "Initial commit" | |
-- push to the github remote repos ensuring you overwrite history | |
git remote add origin git@github.com:<YOUR ACCOUNT>/<YOUR REPOS>.git |