forked from scikit-learn/scikit-learn
-
Notifications
You must be signed in to change notification settings - Fork 0
git and github tips
Andreas Mueller edited this page Jul 20, 2014
·
5 revisions
This can only be done by repo collaborators. If you use the github "merge" button, a merge commit will always be created, even if the merge was fast-forward.
git checkout master
git pull upstream master
git rebase master feature_branch # will leave you in feature_branch
git checkout master
git merge feature_branch # will not create a merge commit!
git push upstream master
https://gist.github.com/3342247
git ls-files | xargs sed -i -e 's/old-method-name/new-method-name/g'