GitHub
In the blog we will explain how we can create new branch on github from terminal , so follow the steps bellow
1/ create new folder with name local_branch
2/ open the terminal with it's path and write the comands bellow one by one
git init // to initialize local repo
git add . // to add all folders in this folder to your local repo
git checkout -b local_branch // to make checkout
git commit -m "any text message you want" // to commit your changes
git remote add origin remote_repo_path on github // to add your local branch to remote branch
git push origin local_branch // to push your files to the remote branch
No comments:
Post a Comment