About 11,400,000 results
Open links in new tab
  1. How do I clone a specific Git branch? - Stack Overflow

    Git clone will clone remote branch into local. Is there any way to clone a specific branch by myself without switching branches on the remote repository?

  2. git - How do I delete a commit from a branch? - Stack Overflow

    I think this is not a duplicate of Git undo last commit as it asks how to delete any commit from a branch. I also think non of the answers actually address this question. They all rewind the last …

  3. How do I delete a Git branch locally and remotely?

    Jan 5, 2010 · Don't forget to do a git fetch --all --prune on other machines after deleting the remote branch on the server. ||| After deleting the local branch with git branch -d and deleting …

  4. How can I remove a Git branch locally? - Stack Overflow

    I have a master and a development branch in my repository. I want to remove the master branch from my computer, so that I don't accidentally commit to it (it's happened...). There are …

  5. Download a single folder or directory from a GitHub repository

    How can I download only a specific folder or directory from a remote Git repository hosted on GitHub? Say the example GitHub repository lives here: [email protected]:foobar/Test.git Its …

  6. git - How do I modify a specific commit? - Stack Overflow

    I have the following commit history: HEAD HEAD~ HEAD~2 HEAD~3 git commit --amend modifies the current HEAD commit. But how do I modify HEAD~3?

  7. Using "If cell contains #N/A" as a formula condition.

    Jan 7, 2014 · I need help on my Excel sheet. How can I declare the following IF condition properly? if A1 = "n/a" then C1 = B1 else if A1 != "n/a" or has value(int) then C1 = A1*B1

  8. Find out who is locking a file on a network share - Stack Overflow

    May 23, 2017 · Just in case someone looking for a solution to this for a Windows based system or NAS: There is a built-in function in Windows that shows you what files on the local computer …

  9. How do I revert a Git repository to a previous commit?

    Nov 6, 2010 · How do I revert from my current state to a snapshot made on a certain commit? If I do git log, then I get the following output: $ git log commit ...

  10. Move the most recent commit(s) to a new branch with Git

    Oct 27, 2009 · # Note: Any changes not committed will be lost. git branch newbranch # Create a new branch, saving the desired commits git checkout master # checkout master, this is the …