logo

GIT Process and PAM System Implementation in Organizations

   

Added on  2024-04-24

13 Pages3798 Words53 Views
CSC8512
ASSIGNMENT
1
2019: Answers

Contents
Solution #1:................................................................................................................................3
GIT.........................................................................................................................................3
GIT Process............................................................................................................................3
Code installation of existing repository:................................................................................4
Cloning of the Repository:.....................................................................................................4
File adding to the Repository.................................................................................................4
Recovering files from Repository:.........................................................................................5
Change in repository History and Status checking................................................................5
Changes in Master Repository (Pulling out and Pushing in local changes)..........................5
Repository permission setting:...............................................................................................5
Solution #2:................................................................................................................................6
PAM System:.........................................................................................................................6
Implementation of PAM:.......................................................................................................7
Solution #3:................................................................................................................................9
Installation of Syncthing:.....................................................................................................10
Starting Syncthing:...............................................................................................................10
Remote Device Addition:.....................................................................................................11
Solution #4:..............................................................................................................................12
References:...............................................................................................................................13

Solution #1:
GIT
GIT is a distributed version of the control systems that is used to track changes in the main
source code throughout the software development process. The main purpose of designing
such system is to coordinate the work between developers but now it can also be used as a
tracker that tracks the deviations in a set of software files. Content provided by it is filtered in
the sense where the data integrity, speed, time complexity, and support for circulated non-
linear workflows in focused. Distributed Virtual Control System is the core of the GIT.
DVCS are the source for other remote machine application. Therefore, using the GIT
approach developers are free to control the complete access of the source code of any
software.
It can also be said that Git is a source code management system which focuses on the speed
of the program execution. It was developed by Linus Torvalds for the Linux operating system
but now it is used as an open source controlling software because it benefits the developers
working in a group to merge their work and save time. But it don’t let the users or developers
to overwrite the source code, once it is done, it is done. Also it keeps the history of work done
and keeps on tracking and maintaining it.
Some functionalities of GIT are as followed.
Changes, made at one end of the repository are updated in the whole hierarchy without
changing the state of the development.
Keeps on tracking the activities and on that basis maintains the history of the program.
Commits the initials which should store all the information.
Works on the data integrity and speed.
Most of the users deploys the repository while maintaining it, to diminish this mistake, flags
cards are used for every momentous on which the history can stay committed.
GIT Process
Progressions in the GIT field are done in the following steps:
Repository can be cloned by using the following command in proper way.
“git clone {repo-url}”
In the repository, pulling and pushing operations can be done using the following
command.
“git pull {branch-name}” & “git push”

Repository can be uploaded by using the following command.
“git init”
Using the remote repositories, branches of the local repositories can be constructed by
following command:
“git branch {branch-name}” and “git checkout {branch-name}”
Code installation of existing repository:
Local directory can be created as:
“/home/Planets/ktransit”
In the initiation step the code that is used is:
“Git init”
Commit in the main history can be made using following command:
“git add path/to/file/myfile.ext”
After using the above commands the developer need to initialise the commit with the help
of following command:
“git commit, git –a commit”
Cloning of the Repository:
SSL or Secure Socket Layer codes are used for the main cloning process of the repository.
There is no change in the cloning for the complete workflow and it makes the consistency in
the program or source code. The only difference that can be seen will be on the main type and
the content that is programmed in the local directory.
i.e. “git clone proto://url//repo.git localdir”
Cloning process that is associated with the mercury software is programmed as:
/home/Planets/ktransit my- ktransit -clone”
File adding to the Repository
It is the initial step for every process as well as for GIT process. First of all the developer
need to add the function files in order to use them at the time of calling. This commit is used
for the amendment of the main file with repository files using the ‘commit’ command. The
particular command that is used for this purpose is:
“git add /path/to/file/myfile.ext”

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
System Administrators or Security Administrators -
|13
|1583
|22

Version Control System Report 2022
|9
|1323
|18

Distributed Version Control System of Git
|9
|1309
|17

Using GitHub for Version Control: A Beginner's Guide
|7
|680
|416

Project Initiation, Planning and Execution in PDF
|11
|1008
|9

Code Repository: Benefits and Popular Options
|6
|1097
|444