9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Git usage
@ 2025-01-12 19:55 Paul Lalonde
  2025-01-12 20:10 ` Ron Minnich
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Paul Lalonde @ 2025-01-12 19:55 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 1289 bytes --]

Now that I'm doing some daily development, I'm running into process issues
with git.  That probably means I'm doing something wrong, and I'm hoping
someone might disabuse me.

My workflow is to sync my github fork of rminnich/nixos, then git/pull to
get up to date with my repo.  I then make a branch for my work: git/branch
-b remotes/origin/regen -n some_feature
After some time, I commit my changes and git/push.  I can then generate the
pull request on github and manage the review there, etc, then delete the
branch on github, then 'git/branch regen && git/branch -d some_feature' to
clean up my world.

This almost works, but leaves a bunch of remotes in my repo:

fluxcpu% git/branch -a
heads/master
heads/fix_multiboot_magic
heads/keep
heads/_rebase.working
heads/fix_mp_init
heads/some_feature
remotes/origin/master
remotes/origin/regen
remotes/origin/boots
remotes/origin/multiboot_magic
remotes/origin/fix_multiboot_magic
remotes/origin/fix_mp_init


What's the right way to clean up these ever-growing remotes?

Paul

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tc30944502958e1a0-M52fa9db12231eab2db9e5b93
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 2091 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2025-01-13  8:28 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-12 19:55 [9fans] Git usage Paul Lalonde
2025-01-12 20:10 ` Ron Minnich
2025-01-12 20:44   ` Christopher Nielsen
2025-01-12 21:06 ` [9fans] " Paul Lalonde
2025-01-12 21:55   ` Noam Preil
2025-01-12 22:08     ` Paul Lalonde
2025-01-12 22:17       ` Noam Preil
2025-01-12 22:50         ` Paul Lalonde
2025-01-13  0:07           ` ori
2025-01-13  0:14             ` Paul Lalonde
2025-01-13  0:34               ` ori
2025-01-13  0:32   ` ori
2025-01-13  2:22     ` Paul Lalonde
2025-01-13  5:55       ` ori
2025-01-13  5:59       ` ori
2025-01-13  7:46       ` Michael Forney
2025-01-13  0:17 ` [9fans] " ori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).