Joined May 2011
·
Posted to
git today — Quickly see what you've done today
over 1 year
ago
I can't get this to work. I think it's erring because of the space in my name.
fatal: ambiguous argument 'Ideler': unknown revision or path not in the working tree.
Here's the alias in my .gitconfig:
today = !git log --since=midnight --author="$(git config user.name)" --oneline
And my Git user name:
$ git config user.name
Dennis Ideler
Posted to
Get rid of "fatal: CRLF would be replaced by LF in [file]"
over 1 year
ago
If you use the fish shell, run dos2unix **
from the top level of your project and it will recursively convert all files (except for hidden files).
Posted to
Stop Making Me Sign Up
over 1 year
ago
Just a link to your medium blog? Would be nice if you at least wrote a summary here.
Posted to
fatal: remote error: You can't push to git
over 1 year
ago
Helped me! I forgot that git:// is read-only, I must have not been logged in when grabbing that URL.
Posted to
How NOT to delete files with the find command
over 1 year
ago
That sucks, but it does mention that potential problem in the man pages.
I use a (fish) function to avoid making the same mistake:
function find-and-delete
find . -name $argv[1] -delete
end
E.g. find-and-delete '*.pyc'
Achievements
261 Karma
10,350 Total ProTip Views
24PullRequests Participant
Sent at least one pull request during the first 24 days of December 2014
T-Rex
Have at least one original repo where C is the dominant language
Python 3
Have at least three original repos where Python is the dominant language
Raven
Have at least one original repo where some form of shell script is the dominant language
Lab
Have at least one original repo where C# is the dominant language
Altruist
Increase developer well-being by sharing at least 20 open source projects
Velociraptor
Have at least one original repo where Perl is the dominant language
Epidexipteryx
Have at least one original repo where C++ is the dominant language
Python
Would you expect anything less? Have at least one original repo where Python is the dominant language
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Charity
Fork and commit to someone's open source project in need
Komodo Dragon 3
Have at least three original repos where Java is the dominant language
Komodo Dragon
Have at least one original repo where Java is the dominant language
Thanks @yaw! I like to edit my aliases directly in
.gitconfig
and I tried putting single quotes around the whole thing but that didn't work, instead I escaped the double quotes with backslashes.