About 5,820,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? …

  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 …

  3. 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 …

  4. git - How can I combine two commits into one commit? - Stack …

    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, …

  5. 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 …

  6. 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 …

  7. Find which commit is currently checked out in Git

    Jun 23, 2012 · I'm in the middle of a git bisect session. What's the command to find out which commit (SHA-1 hash value) I am currently on? git status does not provide this. I guess calling …

  8. 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 …

  9. When should I use git pull --rebase? - Stack Overflow

    Mar 19, 2010 · In Git, as you probably know, you're encouraged to branch and merge. Your local branch, into which you pull changes, and remote branch are, actually, different branches, and …

  10. git - How to recover stashed uncommitted changes - Stack Overflow

    May 25, 2018 · I had some uncommitted changes in my development branch and I stashed them using git stash, but there were some changes which were very important among those stashed …