Hej,
Po roku pracy naszła mnie refleksja, czy może nie dałoby się troche zooptymalizować moją pracę z gitem :D
Otóż to co robię każdego dnia wygląda tak:
git pull
git checkout -b feature/LT-999-my-feature-branch
..coding...
git add .
git commit -m "added best feature ever"
git push
... cyk wyskakuje mi "fatal: The current branch bugfix/LT-4796-rms-api-order has no upstream branch. To push the current branch and set the remote as upstream, use git push --set-upstream origin feature/LT-999-my-feature-branch - kopiuje to"
git push --set-upstream origin feature/LT-999-my-feature-branch
Zmiany poszły na gita i wystawiam MR do code review.
I tak sobie myślę, da się pozbyć tego set upstream origin jakoś globalnie żeby git push wystarczył?