diff options
author | Constantin Michael <constantin@codesynthesis.com> | 2011-03-14 14:45:48 +0200 |
---|---|---|
committer | Constantin Michael <constantin@codesynthesis.com> | 2011-03-14 15:08:15 +0200 |
commit | 1d22faafe9911c579a98460649d85e711b0d2aa6 (patch) | |
tree | d1adb09d37f0dc98ec8cfa7925fb2910c59a3db0 | |
parent | ee3d5caa70fdf76f8afa66e135832a937d5449f9 (diff) |
Add instructions to remove git remote branch
-rw-r--r-- | git/git-cheatsheet.txt | 7 |
1 files changed, 7 insertions, 0 deletions
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): |