Skip to content

Instantly share code, notes, and snippets.

View jordifebrer's full-sized avatar

Jordi Febrer jordifebrer

View GitHub Profile
@jordifebrer
jordifebrer / bower_package.md
Created August 28, 2014 18:56
How to register a Bower package
git add -A
git commit -m "Commit comment"
git tag -a v0.0.1 -m "Release version 0.0.1"
@jordifebrer
jordifebrer / misc_git.md
Last active April 11, 2016 15:19
Miscellaneous git stuff

miscellaneous git stuff

Ammend the commit message

$ git commit --amend -m "New commit message"

Change name file to lowercase or uppercase

$ git mv uppercase_file temp_file
@jordifebrer
jordifebrer / vim.md
Last active August 29, 2015 14:05
Vim shortcuts

Vim shortcuts

Delete the current line

d + d

Delete the current line + the line below

d + down
@jordifebrer
jordifebrer / console.md
Created August 8, 2014 12:52
Console shortcuts

Console shortcuts

Clean the screen

control + l

Delete the left part of the line

control + u
@jordifebrer
jordifebrer / git_log.md
Last active March 16, 2022 15:10
Some Git log commands

git log

Help!

git help log

Shows the list of commits (the most recent commits show up first)

git log