1945 shaares
5 private links
5 private links
51 results
tagged
git
git config user.name "Automated"
git config user.email "actions@users.noreply.github.com"
git add -A
timestamp=$(date -u)
git commit -m "Latest data: ${timestamp}" || exit 0
git push
Manage multiple Git identities
git subtree add --prefix dir git@git.git master
Here is a way to remove non-interactively a specific <commit-id>, knowing only the <commit-id> you would like to remove:
git rebase --onto <commit-id>^ <commit-id>
git-remote-hg
git-remote-bzr
- e9c00be...2652a00 garment-quiz -> garment-quiz (forced update)
- d91922d...2fec250 release-2012-07-04 -> release-2012-07-04 (forced update)
fix:
git push origin d91922d:release-2012-07-04
This document is an attempt to be a fairly comprehensive guide to recovering from what you did not mean to do when using git. It isn't that git is so complicated that you need a large document to take care or your particular problem, it is more that the set of things that you might have done is so large that different techniques are needed depending on exactly what you have done and what you want to have happen.