About 17,400,000 results
Open links in new tab
  1. git - How can I cherry-pick only changes to certain files ... - Stack ...

    If I want to merge the changes made only to some of the files changed in a particular commit, which includes changes to multiple files, into a Git branch, how can this be achieved? Suppose the Git ...

  2. git - What is fast-forwarding? - Stack Overflow

    Apr 16, 2015 · For more: 3.2 Git Branching - Basic Branching and Merging In another way, If master has not diverged, instead of creating a new commit, Git will just point the master to the latest commit of …

  3. What is the difference between "git branch" and "git checkout -b"?

    git checkout -b newbranch: Creates a new branch and switches to that branch immediately. This is the same as git branch newbranch followed by git checkout newbranch.

  4. windows - Where is git.exe located? - Stack Overflow

    If git.exe is indeed in your %PATH% (that is, if you can type a git --version in a DOS windows), then which git.exe will tell you where. (provided you did install GoW: Gnu on Windows: 130 unix …

  5. git - How to cherry-pick multiple commits - Stack Overflow

    Nov 4, 2009 · git cherry-pick commit1 commit2 commit3 commit4 commit5 3. to cherry-pick a range of commits I originally learned the basics of this style from the most-upvoted answer by Eric Darchis …

  6. git - How can I combine two commits into one commit? - Stack Overflow

    Sep 21, 2012 · 243 You want to git rebase -i to perform an interactive rebase. If you're currently on your "commit 1", and the commit you want to merge, "commit 2", is the previous commit, you can run git …

  7. How do I name and retrieve a Git stash by name? - Stack Overflow

    How do I save/apply a stash with a name? I don't want to have to look up its index number in git stash list. I tried git stash save "my_stash_name", but that only changes the stash descri...

  8. Difference between git pull --rebase and git pull --ff-only

    Aug 21, 2014 · What will happen if I use git pull --ff-only ? It will fail. git pull --ff-only corresponds to git fetch git merge --ff-only origin/master --ff-only applies the remote changes only if they can be fast …

  9. git reset - How to cancel a local git commit? - Stack Overflow

    Jan 31, 2011 · Use git log to show current commit messages, then find the commit_id before the commit that you want to delete, not the commit you want to delete. If you want to keep the locally changed …

  10. git branch - Update Git branches from master - Stack Overflow

    git checkout b1 git merge master # repeat for b2 and b3 This leaves the history exactly as it happened: You forked from master, you made changes to all branches, and finally you incorporated the …