entering
refs/tags/ as the target ref name.http://stackoverflow.com/questions/18396182/egit-push-tag-broken
refs/tags/ as the target ref name.pull automatically merges the commits without letting you review them first. If you don’t closely manage your branches you may run into frequent conflicts.branch.master.merge=refs/heads/master
branch.master.remote=origin
branchname, in the key it's your local branch, in the value it's the branch in the remote repository. Place that in the repository-specific configuration file%repositorypath%\.git\configmerge: join two or more development histories togetherfetch: download objects and refs from another repositorypull: fetch from and merge with another repository or local branchsync: allows you to compare 2 branchesmaster is a reference to the end of a branch (by convention this is usually the 'trunk' of the tree, to use a SVN term, but it doesn't have to be).HEAD is actually a special type of reference that points to another reference. It may point to master or it may not (it will point to whichever branch is currently checked out). If you know you want to be committing to themaster branch then push to this.HEAD is pointing to by running this:$ git symbolic-ref HEAD
refs/heads/master
remotes/origin/HEAD is pointing to is more tricky because it is on the remote machine.git push -f origin cc4b63bebb6:alpha-0.3.0
receive.denyNonFastForwards set on the remote repository. If this is the case, then you will get an error which includes the phrase [remote rejected].git push origin :alpha-0.3.0
git push origin cc4b63bebb6:refs/heads/alpha-0.3.0
receive.denyDeletes set, then you have to have direct access to the repository. In the remote repository, you then have to do something like the following plumbing command.git update-ref refs/heads/alpha-0.3.0 cc4b63bebb6 83c9191dea8
http://stackoverflow.com/questions/1270514/undoing-a-git-push
$ git svn clone http://svn/repo/here/trunk
git-svn. The git-svn man page has a good examples section:$ git svn --help
http://stackoverflow.com/questions/79165/how-to-migrate-svn-with-history-to-a-new-git-repository
If I call "git add .", and then "git status" and it keeps saying "working directory clean" and has nothing to commit.
.gitignore and .git/info/exclude.gitignore as a placeholder so git will track the folder..git folder from this sub repo a while ago, but I didn't realize that it was too late, and git was already tracking it as a submodule. You can read more about how these behave and how to remove them here, butgit rm --cached path_to_submodule.A "refspec" is used by fetch and push operations to describe the mapping between remote Ref and local Ref.
Semantically they define how local branches or tags are mapped to branches or tags in a remote repository.
In native git they are combined with a colon in the format, preceded by an optional plus sign,: +to denote forced update.
In EGit they can be displayed and also edited in tabular form in the Push Ref Specification and the Fetch Ref Specification and other dialogs.The "left-hand" side of a RefSpec is called source and the "right-hand" side is called destination.
Depending on whether the RefSpec is used for fetch or for push, the semantics of source and destination differ:
For a Push RefSpec, the source denotes a Ref in the source Repository and the destination denotes a Ref in the target Repository.Push Refspecs
A typical example for a Push RefSpec could be
HEAD:refs/heads/master
http://stackoverflow.com/questions/10365958/when-pushing-to-remote-git-repo-using-egit-in-eclipse-what-should-i-chooseThis means that the currently checked out branch (as signified by theHEADReference, see Git References) will be pushed into the master branch of the remote repository.
git rm:git rm file1.txt
git commit -m "remove file1.txt"
http://stackoverflow.com/questions/2047465/how-can-i-delete-a-file-from-git-repo