Skip to content

Instantly share code, notes, and snippets.

View echorohit's full-sized avatar
🎯
Focusing

Rohit Choudhary echorohit

🎯
Focusing
  • SambaNova Systems
  • Bangalore
  • 21:40 (UTC -12:00)
  • X @29rkc
View GitHub Profile
Common git commands
-------------------
Start:
------
git init : to initialize a empty project.
git clone <git url> <path to store> : Get some others project. But this will only give master branch.
git checkout -b <branchname> origin/<other branch name> : This will fetch the branch from remote you want but this command could only be run after 2nd command.