sadly requesting help
http://www.spinics.net/lists/git/msg127901.html
git update-ref refs/remotes/git-svn <commitid>
Feature or a bug: git aliases are executed in git-root directory
http://www.spinics.net/lists/git/msg129149.html
Yes, put this script in your path (and make it executable):
cat > git-meld << EOF
#!/bin/sh
GIT_EXTERNAL_DIFF='git-diff-to-meld-redirect' git diff "$@"
EOF
git log of remote repositories.
http://www.spinics.net/lists/git/msg129120.html
git fetch; git log ..origin ;
git log ..@{u}
git fetch --dry-run
Creating a git branch without ancestry
http://madduck.net/blog/2007.07.11:creating-a-git-branch-without-ancestry/
Re: Please default to 'commit -a' when no changes were added
http://www.spinics.net/lists/git/msg129989.html
(uses a script git-ci)
How can I commit only part of a file in git
http://stackoverflow.com/questions/1085162/how-can-i-commit-only-part-of-a-file-in-git
git add -p filename
s to split whatever change into smaller chunks.
y to stage that chunk
d to exit or go to the next file
Re: How to undo changes?
http://www.spinics.net/lists/git/msg130306.html
Undo the changes in one of the changed filesgit checkout -- <file>
Recover commits from deleted branch, or finding dangling commit
to list the SHA-1s of all dangling objects.git fsck --lost-found
Introducing GIT_DIR environment variable.
http://www.gelato.unsw.edu.au/archives/git/0505/3338.html
How to make public repository GIT_DIR=my-git.git git-init Command not found.
http://git.661346.n2.nabble.com/How-to-make-public-repository-GIT-DIR-my-git-git-git-init-Command-not-found-td1516647.html
git-filter-branch(1) Manual Page
http://ftp.sunet.se/pub/Linux/kernel.org/software/scm/git/docs/v1.6.0.6/git-filter-branch.html
Re: Git Master Master Replication
http://www.spinics.net/lists/git/msg130948.html
By editing .git/config you can setup unlimited amount of locations of
where to pull from and where to push to (and you can pull from many
locations to a same branch and push one branch to many locations)
[remote "server-uk"]
push = +refs/heads/master:refs/heads/master
push = +refs/heads/uk/*:refs/heads/*
pushurl = bla.co.uk
Similarly you can specify pulls using * or specifing each one.
.git/config is extremly flexible I'm sure you can make it work with
any amount of remotes
git archive --prefix=foo/ $sha1 | gzip > foo.tar.gz
See git-archive(1).
沒有留言:
張貼留言