GitHub commands
- Git clone <repo url>
get branch list
- git branch -a
- git branch
Change git branch
- git checkout <branch name>
Steps to add local files to git
- git add .
- git commit -m <"commit massage">
- git push
pull from master branch
git pull origin master
push local repo to remote branch (git repo branch)
git push origin <branch name>
No comments:
Post a Comment