Create a folder called Week3Lab Add a file called startup.txt Edit this file and
ID: 3753998 • Letter: C
Question
Create a folder called Week3Lab Add a file called startup.txt Edit this file and o Add your name on first line o Add the date and time on the second line . Create another file called process.txt . Add this project to source control o Do NOT add process.txt Open process.txt o Record in this file: " The commands you used to add the project and file(s) to source control Add a folder called data . In data, add the files users.dat and systems.csv . Go back to the main folder Add a file called index.html . Add all the new files (except process.txt) to source control o Record the command(s) you used to do this in process.txt . Change your username in this git project to have_SCM on the end of it Record the command(s) you used to do this in process.txt Add process.txt to source control In process.txt record how you did the previous step Edit startup.txt o Add the name of this course and the course code to the top of the file » Review the current state (any changes, etc.) that the project is currently in . Record how you did the previous line in process.txt . Record, in your own words, what you learned two lines up in process.txt . Commit all changes to your project . Zip and submit this project folderExplanation / Answer
I used GIT as SCM tool
Please follow the steps in below order
1.Create a folder Week3Lab.
2.Create a file startup.txt in Week3Lab folder add your name and date time in file and save.
3.Create a file process.txt in Week3Lab folder and save.
4.Create git project and add startup.txt
shshinde@shshinde-t470 MINGW64 /d/BPM Notes/Week3Lab
$ git init
Initialized empty Git repository in D:/BPM Notes/Week3Lab/.git/
shshinde@shshinde-t470 MINGW64 /d/BPM Notes/Week3Lab (master)
$ git add startup.txt
5.Add folder data
6.Create files users.dat and systems.csv in data folder
7.Create index.html in Week3Lab folder
8.Add all files except process.txt
shshinde@shshinde-t470 MINGW64 /d/BPM Notes/Week3Lab (master)
$ git add .
shshinde@shshinde-t470 MINGW64 /d/BPM Notes/Week3Lab (master)
$ git reset process.txt
9.Change user name to have _SCM at the end
shshinde@shshinde-t470 MINGW64 /d/BPM Notes/Week3Lab (master)
$ git config --global user.name "XYZ_SCM"
shshinde@shshinde-t470 MINGW64 /d/BPM Notes/Week3Lab (master)
$ git config --list
core.symlinks=false
core.autocrlf=true
core.fscache=true
color.diff=auto
color.status=auto
color.branch=auto
color.interactive=true
help.format=html
rebase.autosquash=true
http.sslcainfo=C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
http.sslbackend=openssl
diff.astextplain.textconv=astextplain
filter.lfs.clean=git-lfs clean -- %f
filter.lfs.smudge=git-lfs smudge -- %f
filter.lfs.process=git-lfs filter-process
filter.lfs.required=true
credential.helper=manager
core.autocrlf=true
core.excludesfile=C:UsersshshindeDocumentsgitignore_global.txt
gui.recentrepo=D:/BW practice/BW_Project
filter.lfs.clean=git-lfs clean -- %f
filter.lfs.smudge=git-lfs smudge -- %f
filter.lfs.process=git-lfs filter-process
filter.lfs.required=true
user.name=XYZ_SCM
core.repositoryformatversion=0
core.filemode=false
core.bare=false
core.logallrefupdates=true
core.symlinks=false
core.ignorecase=true
gui.wmstate=normal
gui.geometry=1322x693+38+38 254 315
10.Add process.txt
shshinde@shshinde-t470 MINGW64 /d/BPM Notes/Week3Lab (master)
$ git add process.txt
11.Edit startup.txt and add course name and save the file
12.Check status of project
shshinde@shshinde-t470 MINGW64 /d/BPM Notes/Week3Lab (master)
$ git status
On branch master
No commits yet
Changes to be committed:
(use "git rm --cached <file>..." to unstage)
new file: data/systems.csv
new file: data/users.dat
new file: index.html
new file: process.txt
new file: startup.txt
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: startup.txt
13.Commit the project
shshinde@shshinde-t470 MINGW64 /d/BPM Notes/Week3Lab (master)
$ git add .
shshinde@shshinde-t470 MINGW64 /d/BPM Notes/Week3Lab (master)
$ git commit -m "First Commit"
[master (root-commit) c7e181d] First Commit
Committer: XYZ_SCM <shshinde@tibco.com>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:
git config --global user.name "Your Name"
git config --global user.email you@example.com
After doing this, you may fix the identity used for this commit with:
git commit --amend --reset-author
5 files changed, 101 insertions(+)
create mode 100644 data/systems.csv
create mode 100644 data/users.dat
create mode 100644 index.html
create mode 100644 process.txt
create mode 100644 startup.txt
I learn from this lab is how to use version control system to track changes in current project.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.