git clone [email protected]:serginator/dotfiles.git
cd dotfiles
./install.sh
It will backup your current dotfiles in ~/.dotfiles_backup
and link this ones to your home folder
cd dotfiles #go to your dotfiles folder
./uninstall.sh
It will restore your ~/.dotfiles_backup
Linked to my unix-tools repo
It will add two aliases, one for updating your system and security applications (actualizator
), and another to crack WEP wifis easily (wepcrackeator
)
Added some scripts from visionmedia/git-extras
I've added some of them, looked useful to me :)
Define, search and show aliases
git alias last "cat-file commit HEAD"
git alias ^la
searches for la*
git alias
List commits since date
(defaults to "last week")
Output author
's contributions
Output commit count
git count --all
outputs detailed commits
Display "effort" stats.
git effort above 5
shows files with more than 5 commits
git effort bin/* lib/*
git ignore
shows the ignored patters
git ignore build "*.o" "*.log"
adds build, *.o and *.log
git ignore -t rails
adds patterns from an existing template
Show info about the repo If you pass --no-config it doesn't show the current configuration
List all local commits that have not yet been pushed
Remove a file from the repo, including past commits and tags
Outputs a repo summary
You can add a commitish: git summary v42..
Remove the latest commits or the latest commits
Sometimes you have to use a computer that is not yours, and we are all used to our aliases, which makes us forget the real commands. If you install and uninstall your scripts keeping a backup of the older ones, you can use your aliases everywhere :)