Git track branch status

If you type git status on a branch and don’t see the relationship to the origin, then you need to set the default upstream:

git branch --set-upstream-to origin/MyBranch

Comments

Popular posts from this blog

C# Record Serialization

Versioned content in MVC

Add timestamp to photo using ImageMagick