Open whatupfoo opened 4 years ago
You can read more about VCS here.
I recommend reading the Pro Git Book Chapter 1 and 2 when you have trouble falling asleep to further strengthen your understanding.
git clone URL
git checkout -b BRANCHNAME
if you want to create the branch locally. If you have already created this on GitHub, then it's just git checkout BRANCHNAME
git add FILENAME
git commit -m "COMMIT MESSAGE"
git push
git checkout master
git pull --prune
(TIP: Prune automatically with git config --global fetch.prune true
) to delete remote tracking branches (i.e. branches on GitHub)git branch -d BRANCHNAME
to delete local branchgit clone
repo to your local machinegit checkout <branch name>
to the branch that is causing the conflict, in this case, it's the manual
branch.git merge master
this command means you're pulling changes from master into the branch you're checked out to. This is what we call a reverse merge. play/mini/mini_bored.html
. So use your editor to open that up and fix the conflict play/manual/manual.html
, open this up in your editor again. play/manual/manual.html
does not have any conflict markers, what do you think happen here?git status
to find out
git status
tells us that this file has been "deleted by us", "us" in this case is manual
branch. This file was deleted in our branch, yet it was modified in master
. So the very existence of the file is the conflict.
git status
also tells you what to do. Either git add FILENAME
to add it back or git rm FILENAME
to remove it
git add <file name>
or git add .
to move multiple files to staging areagit commit
➡️ your editor will pop up to ask if you want to change the default commit message, if you close it out, then it will go with the default message.
Note: When you're solving a merge conflict, you don't have to type git commit -m
to input the messagegit commit --no-edit
git push
Special Files in a Repository:
Additional settings:
Extension tools for LabView:
To answer your question, @jhill0914: Git LFS is on-prem.
When Git LFS is enabled on the GitHub Enterprise Server appliance, large assets are stored on the data partition in /data/user/storage
git lfs ls-file
to see all the files in LFSHey @RhidiumRh - not sure who else needs to be tagged here, but here are the files related to the git extension for LabVIEW Jared was talking about.
You can clone this down and copy the folder, push it up to github.korry.com
for others to look at too.
@rwnfoo If I install the "labview-git", do I need to install LVCompare.exe and LVMerge.exe or does the installation script install them?
Hi @RhidiumRh 👋
The installation script should install them. Also, thanks for calling this out because I notice the paths were not updated, so I went ahead and corrected it.
Post any questions you may have here during the training.
Link to training manual
Day 1
Day 1 Meeting recording Access Password: 5N&808B+
Day 2
My apologies - I did not hit record and the mere 10mins recording that I have wasn't very helpful, if you want to practice what we have covered today, you can try and complete the breakout activity again as well as review those bullet points
Breakout Activity:
master
and tag itHere are some bullet points to help you review what we have covered:
Day 3
Day 3 Meeting recording Access Password: 1d?#?*@U
Day 4
[Day 4 Meeting recording]() Access Password:
.gitignore
LabVIEW templateBreakout rooms: