Guest User

Untitled

a guest
May 27th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. 1) Open the termnial application
  2. 2) Have you created the Githubs folder?
  3. - check `ls | grep Githubs`
  4. - if folder is not listed:
  5. -create the Githubs folder `mkdir Githubs`
  6. 3) Change directory into the Githubs folder
  7. `cd Githubs`
  8. 4) In browser, navigate to the clients github page.
  9. 5) Click on the Clone or Download dropdown and copy the web URL
  10. 6) In the terminal, clone the directory
  11. `git clone <web Url>`
  12. 7) Get the name of your newly created directory
  13. `ls -lt | head -2 | tail -1`
  14. - the output will look something like this: drwxr-xr-x 121 <your username> staff 3872 <today's date> <new directory name>
  15. 8) Change directory into the newly created directory
  16. `cd <new directory name>`
  17. 9) Open Finder and navigate to the newly created directory
  18. 10) Copy all files/folders into the directory
  19. 11) In the terminal, you can see all the new folders
  20. `ls`
  21. 12) Commit the new folders/files to your local Github index with a message describing the contents
  22. `git comit --all -m "client first commit"`
  23. 13) Push the new files back to the master branch of the public Github
  24. `git push`
Add Comment
Please, Sign In to add comment