create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| # Start a new chapter by branching the current branch off: | |
| (branch chapter5)$ git checkout -b chapter6 | |
| # Make some commits: | |
| (branch chapter6)$ git commit | |
| (branch chapter6)$ git commit | |
| # Oh noez, chapter 3 needs a bugfix | |
| (branch chapter6)$ git checkout chapter3 | |
| (branch chapter3)$ git commit -m "Bugfix" |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| /** | |
| * Created by IntelliJ IDEA. | |
| * User: Digital Keystone (gavin.jackson) | |
| * User: gavin.jackson | |
| * Date: 06/03/12 | |
| * Time: 11:24 | |
| */ | |
| /** | |
| * Class: AbstractCommand |
When working with Git, there are two prevailing workflows are Git workflow and feature branches. IMHO, being more of a subscriber to continuous integration, I feel that the feature branch workflow is better suited, and the focus of this article.
If you are new to Git and Git-workflows, I suggest reading the atlassian.com Git Workflow article in addition to this as there is more detail there than presented here.
I admit, using Bash in the command line with the standard configuration leaves a bit to be desired when it comes to awareness of state. A tool that I suggest using follows these instructions on setting up GIT Bash autocompletion. This tool will assist you to better visualize the state of a branc
| // Promise.all is good for executing many promises at once | |
| Promise.all([ | |
| promise1, | |
| promise2 | |
| ]); | |
| // Promise.resolve is good for wrapping synchronous code | |
| Promise.resolve().then(function () { | |
| if (somethingIsNotRight()) { | |
| throw new Error("I will be rejected asynchronously!"); |
| # shellcheck shell=sh | |
| # https://gist.github.com/karfau/dcf98c6eefc2f2132c160f5c14d2112f | |
| # v2025.3.7 | |
| # needs to be sourced as part of your script | |
| # 1. tries to configure nvm and run `nvm install` | |
| # 2. checks if the node version is correct based on .nvmrc or .node-version | |
| # if both doesn't work, exits with code 1 and some helpful messages | |
| # Sometimes we prefer `nvm use` over `nvm install` |
The package that linked you here is now pure ESM. It cannot be require()'d from CommonJS.
This means you have the following choices:
import foo from 'foo' instead of const foo = require('foo') to import the package. You also need to put "type": "module" in your package.json and more. Follow the below guide.await import(…) from CommonJS instead of require(…).