https://stackoverflow.com/questions/5667884/how-to-squash-commits-in-git-after-they-have-been-pushed
Squash commits locally with
git rebase -i origin/master~4 master
and then force push with
Squash commits locally with
git rebase -i origin/master~4 master
and then force push with
|
help-tools-cli-mgmt() { | |
echo " | |
# 'tldr' | |
# Abbreviated man pages. | |
# 'cheat' | |
# Alternative to 'tldr'. | |
# 'howdoi' | |
# Instant coding answers. |
# Make PATH easier to read by printing each directory on a new line | |
easypath() { | |
echo '\n'; echo $PATH | tr ':' '\0' | xargs -I _ -0 echo _ | ccat | |
} | |
help-tools-cli-mgmt() { | |
echo " | |
# 'tldr' | |
# Abbreviated man pages. |
{ | |
"bookmarks.saveBookmarksInProject": true, | |
"bookmarks.treeview.visible": true, | |
"workbench.colorTheme": "Material Theme", | |
"workbench.iconTheme": "vscode-icons", | |
"workbench.editor.labelFormat": "default", | |
"debug.toolBarLocation": "docked", | |
"css_peek.activeLanguages": ["html", "ejs", "erb", "php", "jinja", "js"], | |
"code-runner.executorMap": { | |
"javascript": "/usr/local/bin/node" |
var animal = { | |
animalType: 'animal' | |
}; | |
function catFactory(name) { | |
var _name = name; | |
newCat = Object.create(animal); | |
newCat.animalType = 'cat'; | |
newCat.setName = function(name) { |
var Animal = function() { | |
var _name; | |
this.animalType; | |
this.setName = function(name) { | |
_name = name; | |
}; | |
this.getName = function() { | |
return _name; | |
}; | |
}; |
var sFoo = “bar”; |