LEARNING JOURNAL

I created this learning journal to practice writting and to help me learn by writting everything down. Source code here

1/13/2024[edited at: 1/14/2024]

Git remote --update

Tags: git

This command is used to update all the remote branches to be in synced with the remote repo. After examine the remote banches, we can use git checkout to create a local branch of the same name with the remote branch, git will automatically make this local branch exactly the same as the remote banch.