alamin_89

Git hub all the files

Jan 3rd, 2018
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. Download Git Software from https://git-scm.com/download/win
  2.  
  3. first command is git --version
  4. second command git config --list
  5. third command git config --global user.name "YOUR NAME"
  6. fourth Command git config --global user.email YOUR EMAIL
  7. fifth command git help
  8. sixth command ls
  9. seventh command cd C:\wamp\www\newtheme\wp-content\themes\sunset-theme-alamin
  10. eigth command git init (will create git repo on a folder)
  11. ninth command git status (will show status of the folder which needs add or commit)
  12. tenth command git add . (will add all the files on the folder)
  13. elevent command git commit -m "Initial commit" (will commit and add message)
  14.  
  15. Need to Create Repositori on Github Collect the unique url of github repositor
  16. twelve command git remote add origin https://github.com/webdeveloperalamin/Sunset-Theme-Me.git (adding the repository)
  17. thriteen command git remote -v ( show status of )
  18. git push --set-upstream origin master
  19. git branch --set-upstream-to=origin/master
  20. git pull --allow-unrelated-histories
  21. git push (Uploaded all the files)
Add Comment
Please, Sign In to add comment