This is actually based and mostly copied from great article of Eli Schleifer, read all here: https://blog.trunk.io/minimum-viable-git-for-trunk-based-development-81a5da7a77a7 Branch Management git checkout -t -b {branch-name} Make a branch, set the upstream to the current branch, and switch to it. You can also do this via the `git branch` command, but it takes multiple commands. Since I always want to… Czytaj dalej Git commands one more time
Tag: git
Most common git commands
If you are like me, you like using git in the terminal. Here are few absolutely essential git commands I use everyday. git checkout -b somebranch # start working on a branchgit commit -am 'conquered the world’ # add and commit your changesgit push origin HEAD # create PR in your remotegit fetch+ git rebase… Czytaj dalej Most common git commands