Author: admin

How to undo local changes in git 0

How to undo local changes in git

Lets say you have a couple of changes in your working directory that you want to discard. There are a few ways in which you can accomplish this. 1) Stash all your changes, then...

Get a remote branch into your freshly cloned local repository 0

Get a remote branch into your freshly cloned local repository

If you have just cloned a repository, by default git places you on the master branch. Even if you do a ‘git branch’ it just shows you the master branch because that is all...