Run
sudo rm /usr/local/bin/gulp
sudo rm -rf /usr/local/lib/node_modules/gulp
npm uninstall gulp -g
npm uninstall gulp-cli -g
npm cache clean
npm install gulp-cli -g
Run
sudo rm /usr/local/bin/gulp
sudo rm -rf /usr/local/lib/node_modules/gulp
npm uninstall gulp -g
npm uninstall gulp-cli -g
npm cache clean
npm install gulp-cli -g
git rebase -i will do it.
To split apart your most recent commit, first:
$ git reset HEAD~
Now commit the pieces individually in the usual way, producing as many commits as you need.
If it was farther back in the tree, then
$ git rebase -i HEAD~3
pragma solidity ^0.4.22; | |
contract SafeMath { | |
function SafeMath() { | |
} | |
function safeAdd(uint256 _x, uint256 _y) internal returns (uint256) { | |
uint256 z = _x + _y; | |
assert(z >= _x); | |
return z; |
pragma solidity ^0.4.22; | |
contract Utils { | |
function Utils() public { | |
} | |
// function compareStrings (string a, string b) view returns (bool){ | |
// return keccak256(a) == keccak256(b); | |
// } |
pragma solidity ^0.4.22; | |
contract Utils { | |
function Utils() public { | |
} | |
// function compareStrings (string a, string b) view returns (bool){ | |
// return keccak256(a) == keccak256(b); | |
// } |