Joined January 2013
· Posted to Making all self references in blocks weak by default over 1 year ago
Posted to clean untracked files over 1 year ago
Why not git clean -df
?
To show what will be removed you can use git clean -ndf
.
Also clean-untracked
may leave empty directories but git clean
removes untracked directories entirely.
Posted to The elegance of the Block over 1 year ago
You do not need weakSelf here. The block lies on the stack, you do not pass it to anywhere or return from a method. So it is not copied to heap and it does not retain variables. Moreover it will be destroyed when method finishes. Just use self.
Posted to Merging Branches Without Checkout over 1 year ago
@skopp Depending on chosen branching model there may be different cases when we need fast-forward. In the article I show a very simplified one, just for example.
Posted to Speed up pushing to Github over 1 year ago
Interesting. Does it work only with github, or it can be used with any git server, e.g. bitbucket?
Achievements
415 Karma
45,909 Total ProTip Views

Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos

Bear 3
Have at least three original repos where Objective-C is the dominant language

Forked
Have a project valued enough to be forked by someone else

Raven
Have at least one original repo where some form of shell script is the dominant language

Epidexipteryx
Have at least one original repo where C++ is the dominant language

Bear
Have at least one original repo where Objective-C is the dominant language

Charity
Fork and commit to someone's open source project in need
@doon Every method in Objective-C goes in pair with plain C function implementing it.
self
and_cmd
are just the first parameters of each implementation, not the reserved keywords.