A little lookup for commands I use frequently
- Commit all edited files and add a message
git commit -a -m "My commit"
- Add all new files
git add .
A little lookup for commands I use frequently
git commit -a -m "My commit"
git add .
Ever had the need to create a branch in a repo on Github without wanting (or being able) to access a local repo?
With the aid of [the Github API][1] and [hurl.it][2] this is a piece of cake!
Just follow these steps:
https://api.github.com/repos/<AUTHOR>/<REPO>/git/refs/heads
https://api.github.com/repos///git/refs
with the following as the POST body :Ever had the need to create a branch in a repo on Github without wanting (or being able) to access a local repo?
With the aid of [the Github API][1] and [hurl.it][2] this is a piece of cake!
Just follow these steps:
https://api.github.com/repos/<AUTHOR>/<REPO>/git/refs/heads
https://api.github.com/repos///git/refs
with the following as the POST body :If you haven't already set your NPM author info, now you should:
npm set init.author.name "Your Name"
npm set init.author.email "[email protected]"
npm set init.author.url "http://yourblog.com"
npm adduser
" for transparent background | |
function! AdaptColorscheme() | |
highlight clear CursorLine | |
highlight Normal ctermbg=none | |
highlight LineNr ctermbg=none | |
highlight Folded ctermbg=none | |
highlight NonText ctermbg=none | |
highlight SpecialKey ctermbg=none | |
highlight VertSplit ctermbg=none | |
highlight SignColumn ctermbg=none |