miniblog.
← Back to all posts
Jul 24, 2012 at 16:57
Turns out #git 1.7 allows `git push origin --delete branch_foo`. The `git push origin :branch_foo` syntax was always slightly unfortunate.
Wilfred Hughes
Related Posts
Feb 16, 2012 at 16:02
`git checkout -b branch_name; git push -u origin branch_name` -- obvious(!) really. I like #git, I'm not sure it likes me.
Wilfred Hughes
Shared words: git, push, origin, branch Score: 105.4
Jul 15, 2016 at 20:51
However, we shouldn't shame users for being git novices. "Always rebase/squash/amend!" is intimidating when learning branch basics. 2/2
Wilfred Hughes
Shared words: git, always, branch Score: 68.1
Jul 29, 2018 at 07:18
@cstanhope
Git doesn't strictly require branches, but it's rare to create commits on top of a detached head. I also believe there's no way to push commits that aren't associated with a branch or tag.
Wilfred Hughes
Shared words: git, push, branch Score: 59.4