Custom Exposure

git branch -m If you want to rename the current branch, you can simply do: git branch -m

git checkout -b BRANCH_NAME

Custom Exposure

git rm --cached #file_path#

Custom Exposure

... $ git checkout --track origin/serverfix

Custom Exposure

git branch -D bugfix

You just have to create a new local branch with the desired name, push it to your remote, and then...

Best results in other decks

stackoverflow.com

Must use Git Bash. To overwrite local master with remote: git checkout master git fetch --all git reset --hard origin/master...

When things go wrong, for example, caused by a bad commit, we need to revert back to an earlier known...

Search in all decks