Search results for head
-
Reset Demystified
/book/en/Git-Tools-Reset-Demystified="tableblock">HEAD Last commit snapshot, next parent
-
Revision Selection
/book/en/Git-Tools-Revision-SelectionHEAD and branch references have been for the last few months. You can see your reflog by using git reflog:
-
Git References
/book/en/Git-Internals-Git-References="console">$ echo 1a410efbd13591db07496601ebc7a059dd55cfe9 > .git/refs/heads/master Now, you can use the head reference you just created instead of
-
Branches in a Nutshell
/book/en/Git-Branching-Branches-in-a-Nutshellcurrently on? It keeps a special pointer called HEAD. Note that this is a lot different than the concept of HEAD in other VCSs you may be used to, such as Subversion or CVS. In Git
-
Git Aliases
/book/en/Git-Basics-Git-Aliases="highlight">$ git config --global alias.unstage 'reset HEAD --' This makes the following two
-
Rewriting History
/book/en/Git-Tools-Rewriting-Historyonto the HEAD that they were originally based on instead of moving them to another one. With the interactive rebase tool, you can then stop after each commit you want to modify and change the message
-
Rerere
/book/en/Git-Tools-Rerere>Another application of rerere is where you merge a bunch of evolving topic branches together into a testable head occasionally, as the Git project itself often does. If the tests fail, you
-
Libgit2
/book/en/Appendix-B:-Embedding-Git-in-your-Applications-Libgit2repository git_repository *repo; int error = git_repository_open(&repo, "/path/to/repository"); // Dereference HEAD to a commit git_object *head_commit; error = git_revparse_single(&head_commit
-
Plumbing and Porcelain
/book/en/Git-Internals-Plumbing-and-Porcelain" data-lang="console">$ ls -F1 config description HEAD hooks/ info/ objects/ refs/ Depending on your version of Git, you may see some additional
-
Git as a Client
/book/en/Git-and-Other-Systems-Git-as-a-Client) Checked out HEAD: file:///tmp/test-svn/trunk r75 This runs the equivalent of two commands – git svn init followed by git svn
-
git-symbolic-ref
/docs/git-symbolic-ref' [-q] [--short] [--no-recurse] 'git symbolic-ref' --delete [-q] DESCRIPTION ----------- Given one argument, reads which branch head the given symbolic ref refers to and outputs its path
-
trivial-merge
/docs/trivial-mergehead or (if the merge is trivial) the result. If multiple cases apply, the one used is listed first. A result of "no merge" means that index is left in stage 0, ancest in stage 1, head in stage 2
-
rev-list-description
/docs/rev-list-description[] ----------------------------------------------------------------------- $ git rev-list origin..HEAD $ git rev-list HEAD ^origin ----------------------------------------------------------------------- endif::git-rev-list[] ifdef::git
-
git-prune
/docs/git-prunegit-prune(1) ============ NAME ---- git-prune - Prune all unreachable objects from the object database SYNOPSIS -------- [verse] 'git prune' [-n] [-v] [--progress] [--expire ] [--] [<head
-
git-reset
/docs/git-resetgit-reset(1) ============ NAME ---- git-reset - Reset current HEAD to the specified state SYNOPSIS -------- [verse] 'git reset' [-q] [] [--] ... 'git reset' [-q] [--pathspec
-
git-cherry
/docs/git-cherrygit-cherry(1) ============= NAME ---- git-cherry - Find commits yet to be applied to upstream SYNOPSIS -------- [verse] 'git cherry' [-v] [ [<head> []]] DESCRIPTION
-
git-remote
/docs/git-remote] [--[no-]tags] [--mirror=(fetch|push)] 'git remote rename' [--[no-]progress] 'git remote remove' 'git remote set-head' (-a | --auto | -d | --delete | ) 'git
-
git-checkout
/docs/git-checkoutversion in the index or the specified tree. If no pathspec was given, 'git checkout' will also update `HEAD` to set the specified branch as the current branch. 'git checkout' []:: To
-
git-update-ref
/docs/git-update-ref. `git update-ref HEAD ` updates the current branch head to the new object. Given three arguments, stores the in the , possibly dereferencing the symbolic refs, after
-
gitcli
/docs/gitcli. `git diff -- HEAD` is, "I have a file called HEAD in my work tree. Please show changes between the version I staged in the index and what I have in the work tree for that file", not "show the