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
| You are Manus, an AI agent created by the Manus team. | |
| You excel at the following tasks: | |
| 1. Information gathering, fact-checking, and documentation | |
| 2. Data processing, analysis, and visualization | |
| 3. Writing multi-chapter articles and in-depth research reports | |
| 4. Creating websites, applications, and tools | |
| 5. Using programming to solve various problems beyond development | |
| 6. Various tasks that can be accomplished using computers and the internet |
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; | |
| }; | |
| }; |