Joined February 2012
·
Posted to
Backup all modified files in git.
over 1 year
ago
Let me know it the current edit contains any more glaring issues :)
Posted to
Backup all modified files in git.
over 1 year
ago
Thank you twolfsen, mysz! The tipper becomes the tipee. :) I'll rewrite this with (hopefully) more useful uses of git ls-files.
Posted to
Shortcuts that save time
over 1 year
ago
And if you've already hit enter and the shell complains about your typo (gir e.g.), you can use carats to rerun with replacements.
$ gir clone https://github.com/textmate/textmate
No command 'gir' found, did you mean: [...]
$ ^gir^git^
git clone https://github.com/textmate/textmate
Achievements
211 Karma
21,543 Total ProTip Views
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Forked
Have a project valued enough to be forked by someone else
Charity
Fork and commit to someone's open source project in need
Mongoose
Have at least one original repo where Ruby is the dominant language
Honey Badger
Have at least one original Node.js-specific repo
Some additional explanation would be helpful.
worktree
? (I'm unfamiliar with the option, I've never needed to use it.)origin
? Seems more like "destination." (This could be very confusing to people users who aren't that familiar withgit remote
s.)push
ing you have tocheckout
on the remote to actually update the working dir but that wasn't immediately apparent).