User Tools

Site Tools


linux:git

This is an old revision of the document!


GIT

Check out remote branch

git switch --track origin/branch-name // 1. Creates a new local branch called branch-name
                                      // 2. Set its upstream to origin/branch-name (the remote branch)
                                      // 3. Move your working directory to that branch
linux/git.1757671045.txt.gz · Last modified: by v1ctor