Within my master branch, I did a git merge some-other-branch locally, but never pushed the changes to origin m
I have a master and a development branch, both pushed to GitHub. I've cloned, pulled, and fetched, but I
How do I reset my local branch to be just like the branch on the remote repository? I did: git reset --hard
I pulled a project from GitHub a few days ago. I've since discovered that there are several forks on GitH
I have a repo (origin) on a USB key that I cloned on my hard drive (local). I moved "origin" to a NAS and succ
How can I add a blank directory (that contains no files) to a Git repository?
I want to be able to do the following: Create a local branch based on some other (remote or local) branch (via
I have made some changes to a file which has been committed a few times as part of a group of files, but now w
I want to resolve merge conflicts in my Git repository. How can I do that?
How do I discard changes in my working copy that are not in the index?
I'd like to move the last several commits I've committed to master to a new branch and take master b
There is a file that was being tracked by Git, but now the file is on the .gitignore list. However, that file
How do you delete untracked local files from your current working tree?
Somebody pushed a branch called test with git push origin test to a shared repository. I can see the branch wi
How do I force an overwrite of local files on a git pull? The scenario is the following: A team member is mo
I don't want to rename a remote branch, as described in Rename master branch for both local and remote Gi