Git: Useful Commands

Below are a few most common commands that are useful to know: Clean up your branch list of branches that doesn’t exist any longer on the remote repository:  git fetch –prune Delete local branch in local repository: git branch -D <branch_name> Delete remote branch in remote repository: git push origin –delete <branch_name> Show which files are […]

Share