- Using Putty or equivalent program, for the address use
<firstname>@dev1.reelradio.com - After logging in for the first time, change your password with the command
passwd - Use the command
ssh-keygento generate a unique key for your git account to easily access the repositories. - Under
/home/"Name of User"/.sshuse the commandcat id_rsa.pub - Copy the generated key file within your github account.
-
Log into your GitHub account.
-
Click your avatar and choose Settings.
-
Select SSH and GPG keys.
-
Click New SSH key.
-
Enter a title in the field.
-
Paste your public key into the Key field
-
Click Add SSH key.
-
- Using the command
git config --global user.name 'your name'set the user.name variable in git for your account. - Using the command
git config --global user.email 'your email'set the user.email variable in git for your account. - Use the commands
git config user.nameandgit config user.emailto check if the changes have been made.
- Navigate to
/export/dev - Clone the dev1 repository by using the command
git clone git@github.com:reelradio/site.git your_name - Name the repository anything you would like.
- Now you can access
https://"FolderName".dev.reelradio.comto see how the changes are displayed within the development environment you created.
- Instructions for this can be found here
- After making changes, checkout a new branch with
git checkout -b <new-branch-name> - Stage then commit your changes
- Then type
git push -u origin <new-branch-name> - After your branch is ready, go to GitHub and create a new pull request for your branch