Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## Install Development Dependencies
- sudo pacman -S openssh git unzip
- ## Generate Local SSH Key For A Computer
- ssh-keygen -t rsa -b 4096 -C "your-email@gmail.com"
- ## Add GitLab Repository
- git remote add origin git@git.yourwebsite.com:os-developers/Software-Installer.git
- ## Configure GitLab Repository Username
- git config --global user.name "Your Name"
- ## Configure GitLab User Profile
- git config --global user.email "your-email@gmail.com"
- ## Open A Terminal In A Project Folder To Turn Your Into A Git repository & Commit All Project Files With A Note:
- git init
- git add --all (or) git add example.md
- git commit -m "I just made this awesome code change and here's why I made it"
- ## Push Final Commits From The Staging Area To The Main GitLab Repository
- git push origin master
- ## Trouble Shooting: Remove Any Git Locks On From The Local Repository
- rm -f ./.git/index.lock
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement