Adding folder to Github via Command Line

Published: 28 June 2020
on channel: Humza Hasan
672
0

This video shows you how to clone an existing repository and add new files/folder accordingly.

The commands used are as follows :

1. To clone an existing repository from github
git clone {url}

2. Add the file to the cloned folder

3. Add new changes to the staging area
git add .

4. Create a branch for your changes
git checkout -b {branchname}

4. Commit the changes
git commit -m "your message"

5.Pushing the changes to remote repository (Github)
git push origin (branchname)

6. Open Github and make a pull request


On this page of the site you can watch the video online Adding folder to Github via Command Line with a duration of hours minute second in good quality, which was uploaded by the user Humza Hasan 28 June 2020, share the link with friends and acquaintances, this video has already been watched 672 times on youtube and it was liked by 0 viewers. Enjoy your viewing!