Welcome to the Power Users community on Codidact!
Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.
Post History
What is the magit equivalent of git switch branch? I'm particularly interested in the situation where you cloned a repo, and want to checkout a remote branch locally. From the commandline that u...
#3: Post edited
- What is the magit equivalent of `git switch branch`?
- What is the magit equivalent of `git switch branch`?
- I'm particularly interested in the situation where you cloned a repo,
- and want to checkout a remote branch locally.
- From the commandline that usually looks like:
- ```sh
- $ git clone repo
- $ cd repo
- $ git branch -a
- remotes/origin/branch
- $ git switch branch
- Branch 'branch' set up to track remote branch 'branch' from 'origin'
- Switched to a new branch 'branch'
- ```