reference
reference copied to clipboard
Cheatsheet request: Github commands
Git commands:
- Master branch => git pull 'Url'// Any other branch => git pull origin branch_name
- Create branch => git checkout -b branch-name
- Delete branch => git branch -d branchname
- Check changes => git status
- Add all the changed files => git add .
- Commit => git commit -m "message to be"
- Push => git push origin "branch_name" or git push origin HEAD