1 Github Basics
Usefull commands
- Use
git clone <githubRepoURL>to clone repo - Use
git reset --hard <commit-hash>to reset local repo to specific commit - Use
git remote remove originto disconnect local repo from origin to prevent pushing new commits - Use
git remote -vto check remote repo url