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

Add timestamp to photo using ImageMagick

Read/write large blob to SQL Server from C#