click below
click below
Normal Size Small Size show me how
github
github commands
| Question | Answer |
|---|---|
| check status | git status |
| create new branch | git checkout branchname |
| go back to main branch | git checkout main |
| delete branch | git branch -d branchname |
| Staging a file after making changes | git add -A |
| Commit the changes | git commit -m "my message" |
| Check that you have the updtaed repo from github | git pull origin main |
| upload you branch to github | git push origin branchname |
| clone github repo on local machine | git clone ssh_key |
| check if connection is establish | git remote -v |