Advertisement
Guest User

Untitled

a guest
Dec 22nd, 2015
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. ## Install Development Dependencies
  2.  
  3. sudo pacman -S openssh git unzip
  4.  
  5. ## Generate Local SSH Key For A Computer
  6.  
  7. ssh-keygen -t rsa -b 4096 -C "your-email@gmail.com"
  8.  
  9. ## Add GitLab Repository
  10.  
  11. git remote add origin git@git.yourwebsite.com:os-developers/Software-Installer.git
  12.  
  13. ## Configure GitLab Repository Username
  14.  
  15. git config --global user.name "Your Name"
  16.  
  17. ## Configure GitLab User Profile
  18.  
  19. git config --global user.email "your-email@gmail.com"
  20.  
  21. ## Open A Terminal In A Project Folder To Turn Your Into A Git repository & Commit All Project Files With A Note:
  22.  
  23. git init
  24. git add --all (or) git add example.md
  25. git commit -m "I just made this awesome code change and here's why I made it"
  26.  
  27. ## Push Final Commits From The Staging Area To The Main GitLab Repository
  28.  
  29. git push origin master
  30.  
  31. ## Trouble Shooting: Remove Any Git Locks On From The Local Repository
  32.  
  33. rm -f ./.git/index.lock
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement