If you deleted a branch, even on all the remotes, but your git tab-completion still gives you the ghost branch, try to delete that branch reference by yourself, it may be in .git/packed-refs and .git/info/refs, in these two files, each reference will use one line, just delete the ghost branch here and git tab-completion will be good again!
分類彙整: 未分類
Convert a shallow cloned/pulled git repository to a normal one
Shallow clone/pull is very useful to speed up the clone process and save disk space and our time, but sometimes we may want to make a repository un-shallow in future. Re-clone/pull it all is not a good idea, in fact, git provides unshallow parameter since version 1.8.2.1
--unshallow
If the source repository is complete, convert a shallow repository to a complete one, removing all the limitations imposed by shallow repositories.
If the source repository is shallow, fetch as much as possible so that the current repository has the same history as the source repository.
https://git-scm.com/docs/git-fetch/
So next time, try git fetch --unshallow
to make the repo be a normal, unshallow one, don’t just re-clone/pull.
Stop the annoying USB power autosuspend under GNU/Linux
Got a problem that the usb mouse will been poweroff/suspend periodically on Linuxmint 17 when the notebook is not in ac mode, here is a quick fix without rebooting system:
echo "-1" | sudo tee /sys/bus/usb/devices/*/power/autosuspend_delay_ms echo "on" | sudo tee /sys/bus/usb/devices/*/power/control
For permanent change, for example on Debian / Ubuntu based GNU/Linux, with usbcore
module:
echo "options usbcore autosuspend=-1" | sudo tee /etc/modprobe.d/disable-usb-autosuspend.conf options usbcore autosuspend=-1
Reference:
Linux kernel Power Management for USB documentation:
https://www.kernel.org/doc/Documentation/usb/power-management.txt
How to disable auto power off of usb devices like usb mouse?
http://askubuntu.com/a/301416
Resume guide resources
A Few Important Resume Tips for 2015 – Are You Ready?
https://www.linkedin.com/pulse/20141203193804-29036708-a-few-important-resume-tips-for-2015-are-you-ready
IT Technician Resume With Summary Statement Example
http://jobsearch.about.com/od/resumetemplates/fl/Information-Technology-Technician-Resume-With-Summary-Statement-Example.htm
15 Tips for Creating the Perfect Tech Resume
http://www.vault.com/blog/resumes-cover-letters/15-resume-tips-for-tech-jobs/
10 Resume Tips for Technology Professionals
http://mashable.com/2012/04/01/tech-resume-tip/
Critical Resume Tips to Launch New IT Professionals
http://www.job-hunt.org/IT-job-search/resume-tips-new-IT-professional.shtml
Step by Step Resume Writing Guide
http://www.job-interview-site.com/resume-guide-how-to-write-a-resume-that-works.html