If you want to rename a branch while pointed to any branch, do:
git branch -m <oldname> <newname>
If you want to rename the current branch, you can do:
(function() { | |
$('.textarea').on('keyup', function(e) { | |
if (e.which == 13 && ! e.shiftKey) { | |
// Write AJAX call here | |
// OR Just submit the form using the below code | |
$(this).closest('form').submit(); | |
} | |
}); | |
})(); |
{ | |
"cmd": ["php", "$file"], | |
"selector": "source.php", | |
"target": "exec", | |
"variants": [ | |
{ "cmd": ["/usr/local/php5/bin/phpunit", "$file"], | |
"name": "Run" | |
} | |
] | |
} |
{ | |
"env": { | |
"es6": true, | |
"node": true | |
}, | |
"parserOptions": { | |
"ecmaVersion": 6, | |
"ecmaFeatures": { | |
"jsx": true | |
} |
#!/usr/bin/env bash | |
spinner() { | |
local cl="\r\033[K" | |
local pid=$1 | |
local spinnging=true | |
local delay=0.05 | |
local spinstr="⠏⠛⠹⠼⠶⠧" | |
printf " " |
#add 'node_modules' to .gitignore file | |
git rm -r --cached node_modules | |
git commit -m 'Remove the now ignored directory node_modules' | |
git push origin master |
### Remove a local tag | |
```bash | |
git tag -d <tag> | |
``` | |
### Remove a remote tag | |
```bash | |
git push --delete origin <tag> |
git clean -fd
console.log(JSON.stringify(METHOD_MAP))
AppiumCommandRoute.json