Trending Tags
    Trending Notes
    Global
    Trending Profiles

      Nostr View


      sommerfeld @sommerfeld - 1y

      #git confession: I work without a local master/main branch

      1
      0
      3

      sommerfeld @sommerfeld - 1y

      Always start a new feature branch by always branching off origin/master using `git switch -c feature/branch origin/master` (previous git fetch required obviously). Then after pushing it remotely, reviewal and approval, you can merge it directly to origin/master or, if your repo policy is avoiding merges, you can push the feature branch directly to origin/master using `git push feature/branch: master` You don't ever really need to have a 'local master'

      1
      0
      3

      sommerfeld @sommerfeld - 1y

      *there's a whitespace typo in the last command, beware

      0
      0
      3

      w3ird @w3ird - 1y

      you animal

      0
      0
      3

      Showing page 1 of 1 pages