From 1d22faafe9911c579a98460649d85e711b0d2aa6 Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Mon, 14 Mar 2011 14:45:48 +0200 Subject: Add instructions to remove git remote branch --- git/git-cheatsheet.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'git') diff --git a/git/git-cheatsheet.txt b/git/git-cheatsheet.txt index 3c73666..3ce3f5b 100644 --- a/git/git-cheatsheet.txt +++ b/git/git-cheatsheet.txt @@ -35,6 +35,13 @@ Setup remote repository 2. git push --tags origin master 3. # blow the local project and do clone +Delete a branch from a remote repository + + git push origin :experimental + + Find a ref that matches experimental in the origin repository (e.g. + refs/heads/experimental), and delete it. + Rebasing Local (e.g., from a feature branch to master): -- cgit v1.1