Review GitLab distribution guide
Wait for completion of Step 4 in the table outlining sequence of events. Receiving an invitation to reset the password may not complete the account linkage process; follow-up with your GitLab administrative lead.
Create a personal repo New project
Determine which files should not be tracked and specify them in a .gitignore
file.
.gitignore
template can be adopted; for instance, some projects may require tracking of changes made to README.md. Adjust the contents of .gitignore
accordinglyTransfer ownership to BCCDC's subgroup when your team feels ready to share the repo with all internal members
Notes:
Internal
mode will grant read access to all members of BCCDCPublic
will allow the entire world read accessPlease review the tutorial by Michael K.
Launch Git Bash
In Git Bash, change directory to where you'd like your local copy to reside, e.g.
cd o:
and press ENTER
Tip: make advantage of TAB key for code completion, e.g.
cd BCC
and press TAB key
In this case, Bash will suggest you folder names that start with "BCC".
Create and securely make a copy of your personal token (see page 5 of GitLab Guide)
Clone the repo; e.g.:
git clone user.name:__put_personal_token_here__@lvmgenodh01.phsabc.ehcnet.ca/bccdc/das/dsi/SharePoint/GitLab.git
Make changes on your local copy, e.g. create a new png file in your local directory
git add . # add all files for tracking
git commit -m "<your message here>"
git push # publish to remote repo
Check the repo GitLab for your changes, unless error messages were generated in Step 5